|
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.XmlElements
public class XmlElements
An XML element collection.
Constructor Summary | |
---|---|
XmlElements()
Default constructor. |
|
XmlElements(XmlElements objectToDuplicate,
XmlElement parent)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
void |
add(XmlElement member)
Adds a member to the collection. |
XmlElements |
duplicate(XmlElement parent)
Produces a deep clone of the object. |
XmlElement |
findExtensible(XmlElement target)
Finds an extensible element within the collection. |
XmlElement |
findMatchingElement(XmlElement target,
String gxdAttributeName,
String gxdAttributeValue)
Finds a matching child element. |
XmlElement |
findOverridable(XmlElement target)
Finds an overridable element within the collection. |
void |
replace(XmlElement elementToReplace,
XmlElement newElement)
Replaces an element within the collection. |
void |
resetParent(XmlElement parent)
Resets the parent for all child elements.. |
int |
size()
Returns the size of the collection. |
List<XmlElement> |
values()
Returns the list of values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlElements()
public XmlElements(XmlElements objectToDuplicate, XmlElement parent)
objectToDuplicate
- the object to duplicateparent
- the parentMethod Detail |
---|
public void add(XmlElement member)
member
- the member to addpublic XmlElements duplicate(XmlElement parent)
parent
- the parent
public XmlElement findExtensible(XmlElement target)
target
- the target to match (same element name and namespace;
public XmlElement findMatchingElement(XmlElement target, String gxdAttributeName, String gxdAttributeValue)
target
- the target to match (same element name and namespace)gxdAttributeName
- a configured attribute name the the matching child must possess
(within the GXD namespace, typically "overridable" or "extensible")gxdAttributeValue
- the attribute value that must match (typically "true")
public XmlElement findOverridable(XmlElement target)
target
- the target to match (same element name and namespace;
public void replace(XmlElement elementToReplace, XmlElement newElement)
elementToReplace
- the element to be replacednewElement
- the new elementpublic void resetParent(XmlElement parent)
parent
- the new parentpublic int size()
public List<XmlElement> values()
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |