com.esri.arcgis.addinframework
Class IXMLNodeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.addinframework.IXMLNodeProxy
All Implemented Interfaces:
IXMLNode, Externalizable, Serializable
Direct Known Subclasses:
IAddInRecordProxy

public class IXMLNodeProxy
extends com.esri.arcgis.interop.Dispatch
implements IXMLNode, Serializable

IXMLNode Interface

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IXMLNodeProxy()
           
  IXMLNodeProxy(Object obj)
           
protected IXMLNodeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IXMLNodeProxy

public IXMLNodeProxy()

IXMLNodeProxy

public IXMLNodeProxy(Object obj)
              throws IOException
Throws:
IOException

IXMLNodeProxy

protected IXMLNodeProxy(Object obj,
                        String iid)
                 throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getType

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

Specified by:
getType in interface IXMLNode
Returns:
The recType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

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

Specified by:
getValue in interface IXMLNode
Returns:
The recValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubNode

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

Specified by:
getSubNode in interface IXMLNode
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

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

Specified by:
getList in interface IXMLNode
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

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

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

readBool

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

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

readReal

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

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

readGUID

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

Specified by:
readGUID in interface IXMLNode
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

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

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

readStream

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

Specified by:
readStream in interface IXMLNode
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

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

Specified by:
getParent in interface IXMLNode
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.