|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.catalog.gxe.XmlNode
com.esri.gpt.catalog.gxe.XmlElement
public class XmlElement
Represents an XML element.
Constructor Summary | |
---|---|
XmlElement()
Default constructor |
|
XmlElement(XmlElement objectToDuplicate,
XmlElement parent)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
void |
appendChildren(XmlElements elements)
Appends child elements. |
XmlElement |
duplicate(XmlElement parent)
Produces a deep clone of the object. |
XmlAttributes |
ensureAttributes()
Ensures that the attribute collection is not null and returns the collection. |
XmlElements |
ensureChildren()
Ensures that the child collection is not null and returns the collection. |
XmlAttributes |
getAttributes()
Gets the attributes. |
String |
getAttributeValue(String namespaceURI,
String name)
Gets a child attribute value |
XmlElements |
getChildren()
Gets the children. |
void |
importAttributes(XmlAttributes base,
boolean preserveLocals)
Imports attributes from a base collection into the local collection. |
void |
importChildren(XmlElements base)
Imports elements from a base collection into the local collection. |
void |
setAttributes(XmlAttributes attributes)
Sets the attributes. |
void |
setChildren(XmlElements children)
Sets the children. |
Methods inherited from class com.esri.gpt.catalog.gxe.XmlNode |
---|
ensureNodeInfo, getNodeInfo, getParent, setNodeInfo, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlElement()
public XmlElement(XmlElement objectToDuplicate, XmlElement parent)
objectToDuplicate
- the object to duplicateparent
- the parentMethod Detail |
---|
public XmlAttributes getAttributes()
public void setAttributes(XmlAttributes attributes)
attributes
- the attributespublic XmlElements getChildren()
public void setChildren(XmlElements children)
children
- the childrenpublic void appendChildren(XmlElements elements)
elements
- the elements to appendpublic XmlElement duplicate(XmlElement parent)
duplicate
in class XmlNode
parent
- the parent
public XmlAttributes ensureAttributes()
public XmlElements ensureChildren()
public String getAttributeValue(String namespaceURI, String name)
namespaceURI
- the namespace URIname
- the attribute name
public void importAttributes(XmlAttributes base, boolean preserveLocals)
base
- the base collectionpreserveLocals
- true if local attributes should be preservedpublic void importChildren(XmlElements base)
base
- the base collection
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |