| java.lang.Object org.enhydra.shark.xpdl.XMLElement org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex org.enhydra.shark.xpdl.XMLComplexElement
All known Subclasses: org.enhydra.shark.xpdl.elements.DeclaredType, org.enhydra.shark.xpdl.elements.Member, org.enhydra.shark.xpdl.elements.SchemaType, org.enhydra.shark.xpdl.elements.RedefinableHeader, org.enhydra.shark.xpdl.elements.ExternalReference, org.enhydra.shark.xpdl.elements.ExtendedAttribute, org.enhydra.shark.xpdl.elements.FinishMode, org.enhydra.shark.xpdl.elements.TimeEstimation, org.enhydra.shark.xpdl.elements.Split, org.enhydra.shark.xpdl.elements.Route, org.enhydra.shark.xpdl.elements.Namespace, org.enhydra.shark.xpdl.elements.No, org.enhydra.shark.xpdl.elements.ExternalPackage, org.enhydra.shark.xpdl.elements.SimulationInformation, org.enhydra.shark.xpdl.elements.BasicType, org.enhydra.shark.xpdl.XMLEmptyChoiceElement, org.enhydra.shark.xpdl.elements.ArrayType, org.enhydra.shark.xpdl.elements.ListType, org.enhydra.shark.xpdl.elements.SubFlow, org.enhydra.shark.xpdl.elements.ProcessHeader, org.enhydra.shark.xpdl.elements.ConformanceClass, org.enhydra.shark.xpdl.elements.Implementation, org.enhydra.shark.xpdl.elements.TransitionRestriction, org.enhydra.shark.xpdl.elements.DataType, org.enhydra.shark.xpdl.elements.Automatic, org.enhydra.shark.xpdl.elements.Package, org.enhydra.shark.xpdl.elements.StartMode, org.enhydra.shark.xpdl.elements.ParticipantType, org.enhydra.shark.xpdl.elements.BlockActivity, org.enhydra.shark.xpdl.elements.Deadline, org.enhydra.shark.xpdl.elements.Condition, org.enhydra.shark.xpdl.elements.Join, org.enhydra.shark.xpdl.elements.PackageHeader, org.enhydra.shark.xpdl.elements.Script, org.enhydra.shark.xpdl.elements.EnumerationValue, org.enhydra.shark.xpdl.XMLCollectionElement, org.enhydra.shark.xpdl.elements.Manual,
Method Summary | |
protected void | add(XMLElement el) | protected boolean | add(int no, XMLElement el) | public Object | clone() | public boolean | containsName(String name) Returns true if there is an element with such element in structure. | abstract protected void | fillStructure() The classes that are derived from this class has to give its
definition for this method. | public XMLElement | get(String name) Gets the element with specified name from stucture. | public ArrayList | getXMLAttributes() Returns the collection of XML attributes this element is made of. | public ArrayList | getXMLElements() Returns the collection of XML elements this element is made of. | public boolean | isEmpty() It is empty if its value is not set, and if
all elements in the structure are empty. | public void | makeAs(XMLElement el) | public void | set(String name, String value) Sets the element from structure with specified name to
the specified value. | public boolean | set(int no, String value) Sets the element that is placed at specified location within structure
to the specified value. |
XMLComplexElement | public XMLComplexElement(XMLElement parent, boolean isRequired)(Code) | | |
containsName | public boolean containsName(String name)(Code) | | Returns true if there is an element with such element in structure.
|
fillStructure | abstract protected void fillStructure()(Code) | | 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).
|
getXMLAttributes | public ArrayList getXMLAttributes()(Code) | | Returns the collection of XML attributes this element is made of.
|
getXMLElements | public ArrayList getXMLElements()(Code) | | Returns the collection of XML elements this element is made of.
|
isEmpty | public boolean isEmpty()(Code) | | It is empty if its value is not set, and if
all elements in the structure are empty.
|
set | public void set(String name, String value)(Code) | | Sets the element from structure with specified name to
the specified value.
|
set | public boolean set(int no, String value)(Code) | | Sets the element that is placed at specified location within structure
to the specified value.
|
|
|