|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.XMLTypeMapper
public class XMLTypeMapper
COM Class 'XMLTypeMapper'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'
Description 'A type converter for XML and native types.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IXMLTypeMapper2 |
---|
IID, IID39fdb45d_2b8e_4e07_a24c_55d722bc4bac, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IXMLTypeMapper |
---|
IIDa9a5de92_e3c9_4940_b0f4_6d93cdf2602b |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
XMLTypeMapper()
Constructs a XMLTypeMapper using ArcGIS Engine. |
|
XMLTypeMapper(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. XMLTypeMapper theXMLTypeMapper = (XMLTypeMapper) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.String |
fromBinary(byte[] value)
Converts a byte array to an XML byte array. |
java.lang.String |
fromBoolean(boolean value)
Converts a boolean to an XML boolean. |
java.lang.String |
fromByte(byte value)
Converts a byte to an XML byte. |
java.lang.String |
fromDate(java.util.Date value)
Converts a date to an XML date. |
java.lang.String |
fromDouble(double value)
Converts a double to an XML double. |
java.lang.String |
fromFloat(float value)
Converts a float to an XML float. |
java.lang.String |
fromInt64(long value)
Converts an int64 to an XML integer. |
java.lang.String |
fromInteger(int value)
Converts a long to an XML integer. |
java.lang.String |
fromShort(short value)
Converts a short to an XML short. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
release()
Release a XMLTypeMapper. |
byte[] |
toBinary(java.lang.String text)
Converts an XML byte array to a byte array. |
boolean |
toBoolean(java.lang.String text)
Converts an XML boolean to a boolean. |
byte |
toByte(java.lang.String text)
Converts an XML byte to a byte. |
java.util.Date |
toDate(java.lang.String text)
Converts an XML date to a date. |
double |
toDouble(java.lang.String text)
Converts an XML double to a double. |
float |
toFloat(java.lang.String text)
Converts an XML float to a float. |
long |
toInt64(java.lang.String text)
Converts an XML integer to an int64. |
int |
toInteger(java.lang.String text)
Converts an XML integer to a long. |
java.lang.Object |
toObject(java.lang.String namespaceURI,
java.lang.String typeName)
Creates an object based on XML type information. |
short |
toShort(java.lang.String text)
Converts an XML short to a short. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLTypeMapper() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic XMLTypeMapper(java.lang.Object obj) throws java.io.IOException
XMLTypeMapper theXMLTypeMapper = (XMLTypeMapper) obj;
obj
to XMLTypeMapper
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public 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 java.lang.Object toObject(java.lang.String namespaceURI, java.lang.String typeName) throws java.io.IOException, AutomationException
toObject
in interface IXMLTypeMapper
namespaceURI
- The namespaceURI (in)typeName
- The typeName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int toInteger(java.lang.String text) throws java.io.IOException, AutomationException
toInteger
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean toBoolean(java.lang.String text) throws java.io.IOException, AutomationException
toBoolean
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short toShort(java.lang.String text) throws java.io.IOException, AutomationException
toShort
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte toByte(java.lang.String text) throws java.io.IOException, AutomationException
toByte
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public float toFloat(java.lang.String text) throws java.io.IOException, AutomationException
toFloat
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double toDouble(java.lang.String text) throws java.io.IOException, AutomationException
toDouble
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.util.Date toDate(java.lang.String text) throws java.io.IOException, AutomationException
toDate
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] toBinary(java.lang.String text) throws java.io.IOException, AutomationException
toBinary
in interface IXMLTypeMapper
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromInteger(int value) throws java.io.IOException, AutomationException
fromInteger
in interface IXMLTypeMapper
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromBoolean(boolean value) throws java.io.IOException, AutomationException
fromBoolean
in interface IXMLTypeMapper
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromShort(short value) throws java.io.IOException, AutomationException
fromShort
in interface IXMLTypeMapper
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromByte(byte value) throws java.io.IOException, AutomationException
fromByte
in interface IXMLTypeMapper
value
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromFloat(float value) throws java.io.IOException, AutomationException
fromFloat
in interface IXMLTypeMapper
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromDouble(double value) throws java.io.IOException, AutomationException
fromDouble
in interface IXMLTypeMapper
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromDate(java.util.Date value) throws java.io.IOException, AutomationException
fromDate
in interface IXMLTypeMapper
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromBinary(byte[] value) throws java.io.IOException, AutomationException
fromBinary
in interface IXMLTypeMapper
value
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String fromInt64(long value) throws java.io.IOException, AutomationException
fromInt64
in interface IXMLTypeMapper2
value
- Signed 64-bit int (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long toInt64(java.lang.String text) throws java.io.IOException, AutomationException
toInt64
in interface IXMLTypeMapper2
text
- The text (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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |