com.esri.arcgis.addinframework
Interface IXMLNode

All Superinterfaces:
Serializable
All Known Subinterfaces:
IAddInRecord
All Known Implementing Classes:
IAddInRecordProxy, IXMLNodeProxy

public interface IXMLNode
extends Serializable

IXMLNode Interface


Method Summary
 IEnumNode getList(String listName)
          Returns a list.
 IXMLNode getParent()
          Get's the parent record.
 IXMLNode getSubNode(String nodeName)
          Returns a named sub node.
 String getType()
          The type or name of the node.
 String getValue()
          Reads the record value.
 boolean readBool(String valueName)
          Reads the named boolean attribute on this record.
 GUID readGUID(String valueName)
          Reads the named GUID attribute on this record.
 int readInteger(String valueName)
          Reads the named integer attribute on this record.
 double readReal(String valueName)
          Reads the named real attribute on this record.
 IStream readStream(String valueName)
          Reads the named stream attribute on this record.
 String readString(String valueName)
          Reads the named string attribute on this record.
 

Method Detail

getType

String getType()
               throws IOException,
                      AutomationException
The type or name of the node.

Returns:
The recType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

String getValue()
                throws IOException,
                       AutomationException
Reads the record value.

Returns:
The recValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubNode

IXMLNode getSubNode(String nodeName)
                    throws IOException,
                           AutomationException
Returns a named sub node.

Parameters:
nodeName - The nodeName (in)
Returns:
A reference to a com.esri.arcgis.addinframework.IXMLNode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getList

IEnumNode getList(String listName)
                  throws IOException,
                         AutomationException
Returns a list.

Parameters:
listName - The listName (in)
Returns:
A reference to a com.esri.arcgis.addinframework.IEnumNode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readInteger

int readInteger(String valueName)
                throws IOException,
                       AutomationException
Reads the named integer attribute on this record.

Parameters:
valueName - The valueName (in)
Returns:
The lVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readBool

boolean readBool(String valueName)
                 throws IOException,
                        AutomationException
Reads the named boolean attribute on this record.

Parameters:
valueName - The valueName (in)
Returns:
The bVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readReal

double readReal(String valueName)
                throws IOException,
                       AutomationException
Reads the named real attribute on this record.

Parameters:
valueName - The valueName (in)
Returns:
The dVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readGUID

GUID readGUID(String valueName)
              throws IOException,
                     AutomationException
Reads the named GUID attribute on this record.

Parameters:
valueName - The valueName (in)
Returns:
A Structure: com.esri.arcgis.support.ms.stdole.GUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readString

String readString(String valueName)
                  throws IOException,
                         AutomationException
Reads the named string attribute on this record.

Parameters:
valueName - The valueName (in)
Returns:
The bVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readStream

IStream readStream(String valueName)
                   throws IOException,
                          AutomationException
Reads the named stream attribute on this record.

Parameters:
valueName - The valueName (in)
Returns:
A reference to a com.esri.arcgis.system.IStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParent

IXMLNode getParent()
                   throws IOException,
                          AutomationException
Get's the parent record.

Returns:
A reference to a com.esri.arcgis.addinframework.IXMLNode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.