Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.gxe
Class XmlAttributes

java.lang.Object
  extended by com.esri.gpt.catalog.gxe.XmlAttributes

public class XmlAttributes
extends Object

An XML attribute collection.


Constructor Summary
XmlAttributes()
          Default constructor
XmlAttributes(XmlAttributes objectToDuplicate, XmlElement parent)
          Construct by duplicating an existing object.
 
Method Summary
 void add(XmlAttribute member)
          Adds a member to the collection.
 XmlAttributes duplicate(XmlElement parent)
          Produces a deep clone of the object.
 XmlAttribute find(String namespaceURI, String nodeName)
          Finds an attribute within the collection
 int size()
          Returns the size of the collection.
 Collection<XmlAttribute> values()
          Returns the collection of values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlAttributes

public XmlAttributes()
Default constructor


XmlAttributes

public XmlAttributes(XmlAttributes objectToDuplicate,
                     XmlElement parent)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
parent - the parent
Method Detail

add

public void add(XmlAttribute member)
Adds a member to the collection.

Parameters:
member - the member to add

duplicate

public XmlAttributes duplicate(XmlElement parent)
Produces a deep clone of the object.
The duplication constructor is invoked.
return new XmlAttributes(this,parent);

Parameters:
parent - the parent
Returns:
the duplicated object

find

public XmlAttribute find(String namespaceURI,
                         String nodeName)
Finds an attribute within the collection

Parameters:
namespaceURI - the namespace
nodeName - the local node name
Returns:
the attribute

size

public int size()
Returns the size of the collection.

Returns:
the size

values

public Collection<XmlAttribute> values()
Returns the collection of values.

Returns:
the values

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.