org.enhydra.shark.xpdl.elements
Class Namespace
java.lang.Object
org.enhydra.shark.xpdl.XMLElement
org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex
org.enhydra.shark.xpdl.XMLComplexElement
org.enhydra.shark.xpdl.elements.Namespace
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Namespace
- extends XMLComplexElement
Helper class to properly write namespaces in XML.
- 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 |
getLocation()
|
java.lang.String |
getName()
|
void |
setLocation(java.lang.String location)
|
void |
setName(java.lang.String name)
|
Methods inherited from class org.enhydra.shark.xpdl.XMLComplexElement |
add, add, clone, containsName, get, getXMLAttributes, getXMLElements, isEmpty, makeAs, set, set |
Methods inherited from class org.enhydra.shark.xpdl.XMLBaseForCollectionAndComplex |
clearCaches, contains, equals, get, initCaches, setNotifyListeners, setNotifyMainListeners, setReadOnly, setValue, 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 |
Namespace
public Namespace(Namespaces 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
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getLocation
public java.lang.String getLocation()
setLocation
public void setLocation(java.lang.String location)