Methods Summary |
---|
public static java.lang.String | parseAnySimpleType(java.lang.String lexicalXSDAnySimpleType)
Return a string containing the lexical representation of the
simple type.
return theConverter.parseAnySimpleType( lexicalXSDAnySimpleType );
|
public static byte[] | parseBase64Binary(java.lang.String lexicalXSDBase64Binary)
Converts the string argument into an array of bytes.
return theConverter.parseBase64Binary( lexicalXSDBase64Binary );
|
public static boolean | parseBoolean(java.lang.String lexicalXSDBoolean)
Converts the string argument into a boolean value.
return theConverter.parseBoolean( lexicalXSDBoolean );
|
public static byte | parseByte(java.lang.String lexicalXSDByte)
Converts the string argument into a byte value.
return theConverter.parseByte( lexicalXSDByte );
|
public static java.util.Calendar | parseDate(java.lang.String lexicalXSDDate)
Converts the string argument into a Calendar value.
return theConverter.parseDate( lexicalXSDDate );
|
public static java.util.Calendar | parseDateTime(java.lang.String lexicalXSDDateTime)
Converts the string argument into a Calendar value.
return theConverter.parseDateTime( lexicalXSDDateTime );
|
public static java.math.BigDecimal | parseDecimal(java.lang.String lexicalXSDDecimal)
Converts the string argument into a BigDecimal value.
return theConverter.parseDecimal( lexicalXSDDecimal );
|
public static double | parseDouble(java.lang.String lexicalXSDDouble)
Converts the string argument into a double value.
return theConverter.parseDouble( lexicalXSDDouble );
|
public static float | parseFloat(java.lang.String lexicalXSDFloat)
Converts the string argument into a float value.
return theConverter.parseFloat( lexicalXSDFloat );
|
public static byte[] | parseHexBinary(java.lang.String lexicalXSDHexBinary)
Converts the string argument into an array of bytes.
return theConverter.parseHexBinary( lexicalXSDHexBinary );
|
public static int | parseInt(java.lang.String lexicalXSDInt)
Convert the string argument into an int value.
return theConverter.parseInt( lexicalXSDInt );
|
public static java.math.BigInteger | parseInteger(java.lang.String lexicalXSDInteger)
Convert the string argument into a BigInteger value.
return theConverter.parseInteger( lexicalXSDInteger );
|
public static long | parseLong(java.lang.String lexicalXSDLong)
Converts the string argument into a long value.
return theConverter.parseLong( lexicalXSDLong );
|
public static javax.xml.namespace.QName | parseQName(java.lang.String lexicalXSDQName, javax.xml.namespace.NamespaceContext nsc)
Converts the string argument into a byte value.
String parameter lexicalXSDQname must conform to lexical value space specifed at
XML Schema Part 2:Datatypes specification:QNames
return theConverter.parseQName( lexicalXSDQName, nsc );
|
public static short | parseShort(java.lang.String lexicalXSDShort)
Converts the string argument into a short value.
return theConverter.parseShort( lexicalXSDShort );
|
public static java.lang.String | parseString(java.lang.String lexicalXSDString)
Convert the lexical XSD string argument into a String value.
return theConverter.parseString( lexicalXSDString );
|
public static java.util.Calendar | parseTime(java.lang.String lexicalXSDTime)
Converts the string argument into a Calendar value.
return theConverter.parseTime( lexicalXSDTime );
|
public static long | parseUnsignedInt(java.lang.String lexicalXSDUnsignedInt)
Converts the string argument into a long value.
return theConverter.parseUnsignedInt( lexicalXSDUnsignedInt );
|
public static int | parseUnsignedShort(java.lang.String lexicalXSDUnsignedShort)
Converts the string argument into an int value.
return theConverter.parseUnsignedShort( lexicalXSDUnsignedShort );
|
public static java.lang.String | printAnySimpleType(java.lang.String val)
Converts a string value into a string.
return theConverter.printAnySimpleType( val );
|
public static java.lang.String | printBase64Binary(byte[] val)
Converts an array of bytes into a string.
return theConverter.printBase64Binary( val );
|
public static java.lang.String | printBoolean(boolean val)
Converts a boolean value into a string.
return theConverter.printBoolean( val );
|
public static java.lang.String | printByte(byte val)
Converts a byte value into a string.
return theConverter.printByte( val );
|
public static java.lang.String | printDate(java.util.Calendar val)
Converts a Calendar value into a string.
return theConverter.printDate( val );
|
public static java.lang.String | printDateTime(java.util.Calendar val)
Converts a Calendar value into a string.
return theConverter.printDateTime( val );
|
public static java.lang.String | printDecimal(java.math.BigDecimal val)
Converts a BigDecimal value into a string.
return theConverter.printDecimal( val );
|
public static java.lang.String | printDouble(double val)
Converts a double value into a string.
return theConverter.printDouble( val );
|
public static java.lang.String | printFloat(float val)
Converts a float value into a string.
return theConverter.printFloat( val );
|
public static java.lang.String | printHexBinary(byte[] val)
Converts an array of bytes into a string.
return theConverter.printHexBinary( val );
|
public static java.lang.String | printInt(int val)
Converts an int value into a string.
return theConverter.printInt( val );
|
public static java.lang.String | printInteger(java.math.BigInteger val)
Converts a BigInteger value into a string.
return theConverter.printInteger( val );
|
public static java.lang.String | printLong(long val)
Converts A long value into a string.
return theConverter.printLong( val );
|
public static java.lang.String | printQName(javax.xml.namespace.QName val, javax.xml.namespace.NamespaceContext nsc)
Converts a QName instance into a string.
return theConverter.printQName( val, nsc );
|
public static java.lang.String | printShort(short val)
Converts a short value into a string.
return theConverter.printShort( val );
|
public static java.lang.String | printString(java.lang.String val)
Converts the string argument into a string.
return theConverter.printString( val );
|
public static java.lang.String | printTime(java.util.Calendar val)
Converts a Calendar value into a string.
return theConverter.printTime( val );
|
public static java.lang.String | printUnsignedInt(long val)
Converts a long value into a string.
return theConverter.printUnsignedInt( val );
|
public static java.lang.String | printUnsignedShort(int val)
Converts an int value into a string.
return theConverter.printUnsignedShort( val );
|
public static void | setDatatypeConverter(javax.xml.bind.DatatypeConverterInterface converter)This method is for JAXB provider use only.
JAXB Providers are required to call this method at some point before
allowing any of the JAXB client marshal or unmarshal operations to
occur. This is necessary to configure the datatype converter that
should be used to perform the print and parse conversions.
Calling this api repeatedly will have no effect - the
DatatypeConverterInterface instance passed into the first invocation is
the one that will be used from then on.
if( converter == null ) {
throw new IllegalArgumentException(
Messages.format( Messages.CONVERTER_MUST_NOT_BE_NULL ) );
} else if( theConverter == null ) {
theConverter = converter;
}
|