org.apache.ecs.wml
Class Input

java.lang.Object
  extended by org.apache.ecs.GenericElement
      extended by org.apache.ecs.ElementAttributes
          extended by org.apache.ecs.ConcreteElement
              extended by org.apache.ecs.SinglePartElement
                  extended by org.apache.ecs.wml.Input
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Attributes, Element, ElementRegistry

public class Input
extends SinglePartElement

This class implements the input element

Author:
Written by Anders.Samuelson, Modifications by ?rjan Petersson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ecs.GenericElement
tabLevel
 
Fields inherited from interface org.apache.ecs.Attributes
NO_ATTRIBUTE_VALUE
 
Fields inherited from interface org.apache.ecs.Element
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE
 
Constructor Summary
Input()
          Basic constructor.
Input(java.lang.String name)
          Constructor.
Input(java.lang.String format, java.lang.String name, Type type)
          Constructor.
Input(java.lang.String name, Type type)
          Constructor.
 
Method Summary
 Input setFormat(java.lang.String format)
          Sets the format="" attribute
 Input setName(java.lang.String name)
          Sets the name="" attribute
 Input setType(Type type)
          Sets the type="" attribute
 
Methods inherited from class org.apache.ecs.ConcreteElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
 
Methods inherited from class org.apache.ecs.ElementAttributes
addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.GenericElement
alterCase, createEndTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input

public Input()
Basic constructor. Use the set* methods to set the values of the attributes.


Input

public Input(java.lang.String name)
Constructor.

Parameters:
name - the name="" attribute

Input

public Input(java.lang.String name,
             Type type)
Constructor.

Parameters:
name - the name="" attribute
defValue - the type="" attribute

Input

public Input(java.lang.String format,
             java.lang.String name,
             Type type)
Constructor.

Parameters:
format - the format="" attribute
name - the name="" attribute
defValue - the type="" attribute
Method Detail

setFormat

public Input setFormat(java.lang.String format)
Sets the format="" attribute

Parameters:
url - the format="" attribute

setName

public Input setName(java.lang.String name)
Sets the name="" attribute

Parameters:
name - the name="" attribute

setType

public Input setType(Type type)
Sets the type="" attribute

Parameters:
url - the type="" attribute


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.