org.enhydra.shark.xpdl.elements
Class ExtendedAttribute
java.lang.Object
org.enhydra.shark.xpdl.XMLElement
org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex
org.enhydra.shark.xpdl.XMLComplexElement
org.enhydra.shark.xpdl.elements.ExtendedAttribute
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class ExtendedAttribute
- extends XMLComplexElement
Represents coresponding element from XPDL schema.
- Author:
- Sasa Bojanic
- See Also:
- Serialized Form
Method Summary |
protected void |
fillStructure()
The classes that are derived from this class has to give its
definition for this method. |
java.lang.String |
getName()
|
java.lang.String |
getVValue()
|
void |
makeAs(XMLElement el)
|
void |
setName(java.lang.String name)
|
void |
setValue(java.lang.String v)
Sets the element value. |
void |
setVValue(java.lang.String value)
|
Methods inherited from class org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex |
clearCaches, contains, equals, get, initCaches, setNotifyListeners, setNotifyMainListeners, setReadOnly, size, toElementMap, toElements |
Methods inherited from class org.enhydra.shark.xpdl.XMLElement |
addListener, createInfo, getListeners, getMainElement, getOriginalElementHashCode, getParent, isMainElement, isReadOnly, isRequired, notifyListeners, notifyMainListeners, removeListener, setParent, toName, toValue |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedAttribute
public ExtendedAttribute(ExtendedAttributes parent)
fillStructure
protected void fillStructure()
- Description copied from class:
XMLComplexElement
- The classes that are derived from this class has to give its
definition for this method. It is used to insert all members
of those classes that are derived from XMLElement.
NOTE: The order of inserted elements is relevant for XML to be
valid (members of classes derived from this class must be
inserted into first mentioned list in the same order that
they are within a corresponding tag for those classes
within WfMC XML).
- Specified by:
fillStructure
in class XMLComplexElement
makeAs
public void makeAs(XMLElement el)
- Overrides:
makeAs
in class XMLComplexElement
setValue
public void setValue(java.lang.String v)
- Description copied from class:
XMLElement
- Sets the element value. If it is simple element or an non-choice attribute, this sets the
actual value of the element. If it is choice attribute, it sets the choosen value. Only some
complex elements (Condition, SchemaType, and ExtendedAttribute) allows you to use this method,
while others will throw RuntimeException.
- Overrides:
setValue
in class XMLBaseForCollectionAndComplex
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getVValue
public java.lang.String getVValue()
setVValue
public void setVValue(java.lang.String value)