|
|||||||||
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
A type converter for XML and native types.
Constructor Summary | |
---|---|
XMLTypeMapper()
Constructs a XMLTypeMapper using ArcGIS Engine. |
|
XMLTypeMapper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. XMLTypeMapper theXMLTypeMapper = (XMLTypeMapper) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
fromBinary(byte[] value)
Converts a byte array to an XML byte array. |
String |
fromBoolean(boolean value)
Converts a boolean to an XML boolean. |
String |
fromByte(byte value)
Converts a byte to an XML byte. |
String |
fromDate(Date value)
Converts a date to an XML date. |
String |
fromDouble(double value)
Converts a double to an XML double. |
String |
fromFloat(float value)
Converts a float to an XML float. |
String |
fromInteger(int value)
Converts a long to an XML integer. |
String |
fromShort(short value)
Converts a short to an XML short. |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
byte[] |
toBinary(String text)
Converts an XML byte array to a byte array. |
boolean |
toBoolean(String text)
Converts an XML boolean to a boolean. |
byte |
toByte(String text)
Converts an XML byte to a byte. |
Date |
toDate(String text)
Converts an XML date to a date. |
double |
toDouble(String text)
Converts an XML double to a double. |
float |
toFloat(String text)
Converts an XML float to a float. |
int |
toInteger(String text)
Converts an XML integer to a long. |
Object |
toObject(String namespaceURI,
String typeName)
Creates an object based on XML type information. |
short |
toShort(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public XMLTypeMapper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic XMLTypeMapper(Object obj) throws IOException
XMLTypeMapper theXMLTypeMapper = (XMLTypeMapper) obj;
obj
to XMLTypeMapper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object toObject(String namespaceURI, String typeName) throws IOException, AutomationException
toObject
in interface IXMLTypeMapper
namespaceURI
- The namespaceURI (in)typeName
- The typeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int toInteger(String text) throws IOException, AutomationException
toInteger
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean toBoolean(String text) throws IOException, AutomationException
toBoolean
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short toShort(String text) throws IOException, AutomationException
toShort
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte toByte(String text) throws IOException, AutomationException
toByte
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public float toFloat(String text) throws IOException, AutomationException
toFloat
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double toDouble(String text) throws IOException, AutomationException
toDouble
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date toDate(String text) throws IOException, AutomationException
toDate
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] toBinary(String text) throws IOException, AutomationException
toBinary
in interface IXMLTypeMapper
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromInteger(int value) throws IOException, AutomationException
fromInteger
in interface IXMLTypeMapper
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromBoolean(boolean value) throws IOException, AutomationException
fromBoolean
in interface IXMLTypeMapper
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromShort(short value) throws IOException, AutomationException
fromShort
in interface IXMLTypeMapper
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromByte(byte value) throws IOException, AutomationException
fromByte
in interface IXMLTypeMapper
value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromFloat(float value) throws IOException, AutomationException
fromFloat
in interface IXMLTypeMapper
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromDouble(double value) throws IOException, AutomationException
fromDouble
in interface IXMLTypeMapper
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromDate(Date value) throws IOException, AutomationException
fromDate
in interface IXMLTypeMapper
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String fromBinary(byte[] value) throws IOException, AutomationException
fromBinary
in interface IXMLTypeMapper
value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |