Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.gxe
Class XmlNodeInfo

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

public class XmlNodeInfo
extends Object

Provides information about an XML node (element or attribute).


Constructor Summary
XmlNodeInfo()
          Default constructor
XmlNodeInfo(XmlNodeInfo objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 XmlNodeInfo duplicate()
          Produces a deep clone of the object.
 String getLocalName()
          Gets the local node name.
 String getNamespacePrefix()
          Gets the namespace prefix.
 String getNamespaceURI()
          Gets the namespace URI.
 String getNodeValue()
          Gets the node value.
 void setLocalName(String localName)
          Sets the local node name.
 void setNamespacePrefix(String prefix)
          Sets the namespace prefix.
 void setNamespaceURI(String uri)
          Sets the namespace URI.
 void setNodeValue(String nodeValue)
          Sets the node value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlNodeInfo

public XmlNodeInfo()
Default constructor


XmlNodeInfo

public XmlNodeInfo(XmlNodeInfo objectToDuplicate)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

getLocalName

public String getLocalName()
Gets the local node name.

Returns:
the local node name

setLocalName

public void setLocalName(String localName)
Sets the local node name.

Parameters:
localName - local node name

getNamespacePrefix

public String getNamespacePrefix()
Gets the namespace prefix.

Returns:
the namespace prefix

setNamespacePrefix

public void setNamespacePrefix(String prefix)
Sets the namespace prefix.

Parameters:
prefix - the namespace prefix

getNamespaceURI

public String getNamespaceURI()
Gets the namespace URI.

Returns:
the namespace URI

setNamespaceURI

public void setNamespaceURI(String uri)
Sets the namespace URI.

Parameters:
uri - the namespace URI

getNodeValue

public String getNodeValue()
Gets the node value.

Returns:
the node value

setNodeValue

public void setNodeValue(String nodeValue)
Sets the node value.

Parameters:
nodeValue - the node value

duplicate

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

Returns:
the duplicated object

Esri Geoportal Server
1.2.9

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