|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXMLTypeMapper
Provides access to members that convert to and from XML to native types.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
Object toObject(String namespaceURI, String typeName) throws IOException, AutomationException
namespaceURI
- The namespaceURI (in)typeName
- The typeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int toInteger(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean toBoolean(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short toShort(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte toByte(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.float toFloat(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double toDouble(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Date toDate(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] toBinary(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromInteger(int value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromBoolean(boolean value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromShort(short value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromByte(byte value) throws IOException, AutomationException
value
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromFloat(float value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromDouble(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromDate(Date value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String fromBinary(byte[] value) throws IOException, AutomationException
value
- An unsigned byte (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 |