org.apache.ecs
Class Param
java.lang.Object
|
+--org.apache.ecs.Element
|
+--org.apache.ecs.ElementAttributes
|
+--org.apache.ecs.ConcreteElement
|
+--org.apache.ecs.SinglePartElement
|
+--org.apache.ecs.Param
- public class Param
- extends SinglePartElement
This class creates an Param Element
- Version:
- $Id: Param.java,v 1.4 1999/05/14 23:40:37 jonbolt Exp $
- Author:
- Stephan Nagy, Jon S. Stevens
Field Summary |
static java.lang.String |
data
|
static java.lang.String |
DATA
|
static java.lang.String |
object
|
static java.lang.String |
OBJECT
|
static java.lang.String |
ref
|
static java.lang.String |
REF
|
Constructor Summary |
Param()
Default constructor. |
Method Summary |
(package private) void |
()
private initializer. |
Param |
addElement(Element element)
Adds an Element to the element. |
Param |
addElement(java.lang.String element)
Adds an Element to the element. |
Param |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Param |
setName(java.lang.String name)
Sets the name of this parameter. |
Param |
setType(java.lang.String cdata)
Sets the mime type of this object |
Param |
setValue(java.lang.String value)
Sets the value of this attribute. |
Param |
setValueType(java.lang.String valuetype)
Sets the valuetype of this parameter. |
Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
output,
output,
registryHasElement,
registryHasElement,
removeElementFromRegistry,
removeElementFromRegistry |
Methods inherited from class org.apache.ecs.ElementAttributes |
addAttribute,
clone,
getAttributeFilter,
getAttributeFilterState,
getEndModifier,
getEndModifierDefined,
getStartModifier,
getStartModifierDefined,
hasAttribute,
removeAttribute,
removeEndModifier,
removeStartModifier,
setAttributeFilter,
setAttributeFilterState,
setClass,
setDir,
setEndModifier,
setEndModifierDefined,
setID,
setLang,
setModifier,
setModifier,
setStartModifier,
setStartModifierDefined,
setStyle,
setTitle |
Methods inherited from class org.apache.ecs.Element |
alterCase,
getCase,
getCodeSet,
getElementHashEntry,
getElementType,
getFilter,
getFilterState,
getNeedClosingTag,
getTagPosition,
getVersion,
setCase,
setCodeSet,
setElementType,
setFilter,
setFilterState,
setNeedClosingTag,
setTagPosition,
toString,
toString |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
REF
public static final java.lang.String REF
DATA
public static final java.lang.String DATA
OBJECT
public static final java.lang.String OBJECT
ref
public static final java.lang.String ref
data
public static final java.lang.String data
object
public static final java.lang.String object
Param
public Param()
- Default constructor. use set* methods.
void ()
- private initializer.
- Overrides:
- in class SinglePartElement
setName
public Param setName(java.lang.String name)
- Sets the name of this parameter.
- Parameters:
name
- sets the name of this parameter.
setValue
public Param setValue(java.lang.String value)
- Sets the value of this attribute.
- Parameters:
value
- sets the value attribute.
setValueType
public Param setValueType(java.lang.String valuetype)
- Sets the valuetype of this parameter.
- Parameters:
valuetype
- sets the name of this parameter.
REF|DATA|OBJECT convience varaibles provided as Param.REF,Param.DATA,Param.OBJECT
setType
public Param setType(java.lang.String cdata)
- Sets the mime type of this object
- Parameters:
the
- mime type of this object
addElement
public Param addElement(Element element)
- Adds an Element to the element.
- Parameters:
element
- Adds an Element to the element.
addElement
public Param addElement(java.lang.String element)
- Adds an Element to the element.
- Parameters:
element
- Adds an Element to the element.
removeElement
public Param removeElement(java.lang.String hashcode)
- Removes an Element from the element.
- Parameters:
hashcode
- the name of the element to be removed.