public class XMLReader extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLReader, IXMLReader2, IXMLReader3, ISupportErrorInfo
Description 'An XML sequential document reader.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID1b8a0010_70d1_4461_8f53_230fe5dc42ed, xxDummy
IID93c1ac3b_4520_450d_b005_95fd01b50c4a
IIDd405f844_8057_4df4_b2da_df25dedebf4c
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
XMLReader()
Constructs a XMLReader using ArcGIS Engine.
|
XMLReader(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLReader theXMLReader = (XMLReader) obj; |
Modifier and Type | Method and Description |
---|---|
void |
closeElement()
Moves position to parent element.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IXMLAttributes |
getAttributes()
Attributes of current element.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getLocalName()
Local name of current element.
|
IXMLNamespaces |
getNamespaceDeclarations()
Namespace declarations of current element.
|
java.lang.String |
getNamespacePrefix()
Namespace prefix of current element.
|
java.lang.String |
getNamespaceURI()
Namespace URI of current element.
|
java.lang.String |
getText()
Text value of current element.
|
java.lang.String |
getXML()
XML representation of the current element.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isHasElementChildren()
Indicates whether the current element has child elements.
|
boolean |
isLastChild()
Indicates whether the current element is the last child element of its parent.
|
java.lang.String |
lookupPrefix(java.lang.String prefix)
Obtains the prefix for a declared URI.
|
void |
nextElement()
Moves position to next element.
|
void |
openElement()
Moves position to first child element.
|
byte[] |
readBinary()
Reads the current element value as a binary array.
|
boolean |
readBoolean()
Reads the current element value as a boolean.
|
byte |
readByte()
Reads the current element value as a byte.
|
java.util.Date |
readDate()
Reads the current element value as a date.
|
double |
readDouble()
Reads the current element value as a double.
|
float |
readFloat()
Reads the current element value as a float.
|
void |
readFrom(IStream inputStream)
Specifies the input XML stream.
|
long |
readInt64()
Reads the current element value as an int64.
|
int |
readInteger()
Reads the current element value as a long.
|
short |
readShort()
Reads the current element value as a short.
|
int |
readUInteger()
Reads the current element value as an usigned long.
|
short |
readUShort()
Reads the current element value as an unsigned short.
|
java.lang.Object |
readVariant()
Reads the current element value as a variant.
|
void |
release()
Release this COM object reference
|
public XMLReader() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic XMLReader(java.lang.Object obj) throws java.io.IOException
XMLReader theXMLReader = (XMLReader) obj;
obj
to XMLReader
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void readFrom(IStream inputStream) throws java.io.IOException, AutomationException
readFrom
in interface IXMLReader
inputStream
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLocalName() throws java.io.IOException, AutomationException
getLocalName
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNamespaceURI() throws java.io.IOException, AutomationException
getNamespaceURI
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNamespacePrefix() throws java.io.IOException, AutomationException
getNamespacePrefix
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IXMLNamespaces getNamespaceDeclarations() throws java.io.IOException, AutomationException
getNamespaceDeclarations
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IXMLAttributes getAttributes() throws java.io.IOException, AutomationException
getAttributes
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getText() throws java.io.IOException, AutomationException
getText
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasElementChildren() throws java.io.IOException, AutomationException
isHasElementChildren
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isLastChild() throws java.io.IOException, AutomationException
isLastChild
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void nextElement() throws java.io.IOException, AutomationException
nextElement
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void openElement() throws java.io.IOException, AutomationException
openElement
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void closeElement() throws java.io.IOException, AutomationException
closeElement
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String lookupPrefix(java.lang.String prefix) throws java.io.IOException, AutomationException
lookupPrefix
in interface IXMLReader
prefix
- The prefix (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean readBoolean() throws java.io.IOException, AutomationException
readBoolean
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public byte readByte() throws java.io.IOException, AutomationException
readByte
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short readShort() throws java.io.IOException, AutomationException
readShort
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int readInteger() throws java.io.IOException, AutomationException
readInteger
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public float readFloat() throws java.io.IOException, AutomationException
readFloat
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double readDouble() throws java.io.IOException, AutomationException
readDouble
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.util.Date readDate() throws java.io.IOException, AutomationException
readDate
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public byte[] readBinary() throws java.io.IOException, AutomationException
readBinary
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object readVariant() throws java.io.IOException, AutomationException
readVariant
in interface IXMLReader
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getXML() throws java.io.IOException, AutomationException
getXML
in interface IXMLReader2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long readInt64() throws java.io.IOException, AutomationException
readInt64
in interface IXMLReader2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short readUShort() throws java.io.IOException, AutomationException
readUShort
in interface IXMLReader3
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int readUInteger() throws java.io.IOException, AutomationException
readUInteger
in interface IXMLReader3
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.