public class XMLWriter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLWriter, IXMLWriter2, ISupportErrorInfo
Description 'An XML sequential document writer.' 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, IID034900a2_4db4_4074_8a7b_3a0885b844a2, xxDummy
IID5f50e520_1278_4c7a_937c_ae5874548431
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
XMLWriter()
Constructs a XMLWriter using ArcGIS Engine.
|
XMLWriter(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLWriter theXMLWriter = (XMLWriter) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
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.
|
IStream |
getStream()
Obtains underlying stream.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
java.lang.String |
lookupNamespace(java.lang.String uri)
Obtains the declared namespace prefix for a namespace.
|
void |
release()
Release this COM object reference
|
void |
writeBinary(byte[] value)
Writes an element value as a binary array.
|
void |
writeBoolean(boolean value)
Writes an element value as a boolean.
|
void |
writeByte(byte value)
Writes an element value as a byte.
|
void |
writeCData(java.lang.String cdata)
Writes a CDATA section.
|
void |
writeDate(java.util.Date value)
Writes an element value as a date.
|
void |
writeDouble(double value)
Writes an element value as a double.
|
void |
writeEndTag()
Writes the ending tag of an element.
|
void |
writeFloat(float value)
Writes an element value as a float.
|
void |
writeInt64(long value)
Writes an element value as an int64.
|
void |
writeInteger(int value)
Writes an element value as a long.
|
void |
writeNewLine()
Writes a newline.
|
void |
writeShort(short value)
Writes an element value as a short.
|
void |
writeStartTag(java.lang.String localName,
java.lang.String uri,
IXMLAttributes attributes,
IXMLNamespaces namespaces,
boolean isEmpty)
Writes the starting tag of an element.
|
void |
writeTab()
Writes a tab.
|
void |
writeText(java.lang.String text)
Writes the text value of an element.
|
void |
writeTo(IStream outputStream)
Specifies output XML stream.
|
void |
writeVariant(java.lang.Object value)
Writes an element value as a variant.
|
void |
writeXML(java.lang.String xML)
Writes raw XML.
|
void |
writeXMLDeclaration()
Writes the XML document declaration.
|
public XMLWriter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic XMLWriter(java.lang.Object obj) throws java.io.IOException
XMLWriter theXMLWriter = (XMLWriter) obj;
obj
to XMLWriter
.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 writeTo(IStream outputStream) throws java.io.IOException, AutomationException
writeTo
in interface IXMLWriter
outputStream
- 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 void writeStartTag(java.lang.String localName, java.lang.String uri, IXMLAttributes attributes, IXMLNamespaces namespaces, boolean isEmpty) throws java.io.IOException, AutomationException
writeStartTag
in interface IXMLWriter
localName
- The localName (in)uri
- The uri (in)attributes
- A reference to a com.esri.arcgis.system.IXMLAttributes (in)namespaces
- A reference to a com.esri.arcgis.system.IXMLNamespaces (in)isEmpty
- The isEmpty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeText(java.lang.String text) throws java.io.IOException, AutomationException
writeText
in interface IXMLWriter
text
- The text (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeCData(java.lang.String cdata) throws java.io.IOException, AutomationException
writeCData
in interface IXMLWriter
cdata
- The cdata (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeEndTag() throws java.io.IOException, AutomationException
writeEndTag
in interface IXMLWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeBoolean(boolean value) throws java.io.IOException, AutomationException
writeBoolean
in interface IXMLWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeByte(byte value) throws java.io.IOException, AutomationException
writeByte
in interface IXMLWriter
value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeShort(short value) throws java.io.IOException, AutomationException
writeShort
in interface IXMLWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeInteger(int value) throws java.io.IOException, AutomationException
writeInteger
in interface IXMLWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeFloat(float value) throws java.io.IOException, AutomationException
writeFloat
in interface IXMLWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeDouble(double value) throws java.io.IOException, AutomationException
writeDouble
in interface IXMLWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeDate(java.util.Date value) throws java.io.IOException, AutomationException
writeDate
in interface IXMLWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeBinary(byte[] value) throws java.io.IOException, AutomationException
writeBinary
in interface IXMLWriter
value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeVariant(java.lang.Object value) throws java.io.IOException, AutomationException
writeVariant
in interface IXMLWriter
value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeXML(java.lang.String xML) throws java.io.IOException, AutomationException
writeXML
in interface IXMLWriter
xML
- The xML (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeXMLDeclaration() throws java.io.IOException, AutomationException
writeXMLDeclaration
in interface IXMLWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeNewLine() throws java.io.IOException, AutomationException
writeNewLine
in interface IXMLWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeTab() throws java.io.IOException, AutomationException
writeTab
in interface IXMLWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String lookupNamespace(java.lang.String uri) throws java.io.IOException, AutomationException
lookupNamespace
in interface IXMLWriter
uri
- The uri (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IStream getStream() throws java.io.IOException, AutomationException
getStream
in interface IXMLWriter2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeInt64(long value) throws java.io.IOException, AutomationException
writeInt64
in interface IXMLWriter2
value
- Signed 64-bit int (in)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.