API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind. DatatypeConverter View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.2 $
Serial
Hierarchy
 Object
      DatatypeConverter
Implements
Subclasses
Description
publicfinal class DatatypeConverter
  The javaType binding declaration can be used to customize the binding of an XML schema datatype to a Java datatype.
Constructors
private DatatypeConverter ()
Methods
Hide/Show inherited methods
publicstatic String parseAnySimpleType (String lexicalXSDAnySimpleType)
  Return a string containing the lexical representation of the simple type.
publicstatic byte parseBase64Binary (String lexicalXSDBase64Binary)
  Converts the string argument into an array of bytes.
publicstatic boolean parseBoolean (String lexicalXSDBoolean)
  Converts the string argument into a boolean value.
publicstatic byte parseByte (String lexicalXSDByte)
  Converts the string argument into a byte value.
publicstatic Calendar parseDate (String lexicalXSDDate)
  Converts the string argument into a Calendar value.
publicstatic Calendar parseDateTime (String lexicalXSDDateTime)
  Converts the string argument into a Calendar value.
publicstatic BigDecimal parseDecimal (String lexicalXSDDecimal)
  Converts the string argument into a BigDecimal value.
publicstatic double parseDouble (String lexicalXSDDouble)
  Converts the string argument into a double value.
publicstatic float parseFloat (String lexicalXSDFloat)
  Converts the string argument into a float value.
publicstatic byte parseHexBinary (String lexicalXSDHexBinary)
  Converts the string argument into an array of bytes.
publicstatic int parseInt (String lexicalXSDInt)
  Convert the string argument into an int value.
publicstatic BigInteger parseInteger (String lexicalXSDInteger)
  Convert the string argument into a BigInteger value.
publicstatic long parseLong (String lexicalXSDLong)
  Converts the string argument into a long value.
publicstatic QName parseQName (String lexicalXSDQName, NamespaceContext nsc)
  Converts the string argument into a byte value.
publicstatic short parseShort (String lexicalXSDShort)
  Converts the string argument into a short value.
publicstatic String parseString (String lexicalXSDString)
  Convert the lexical XSD string argument into a String value.
publicstatic Calendar parseTime (String lexicalXSDTime)
  Converts the string argument into a Calendar value.
publicstatic long parseUnsignedInt (String lexicalXSDUnsignedInt)
  Converts the string argument into a long value.
publicstatic int parseUnsignedShort (String lexicalXSDUnsignedShort)
  Converts the string argument into an int value.
publicstatic String printAnySimpleType (String val)
  Converts a string value into a string.
publicstatic String printBase64Binary (byte[] val)
  Converts an array of bytes into a string.
publicstatic String printBoolean (boolean val)
  Converts a boolean value into a string.
publicstatic String printByte (byte val)
  Converts a byte value into a string.
publicstatic String printDate (Calendar val)
  Converts a Calendar value into a string.
publicstatic String printDateTime (Calendar val)
  Converts a Calendar value into a string.
publicstatic String printDecimal (BigDecimal val)
  Converts a BigDecimal value into a string.
publicstatic String printDouble (double val)
  Converts a double value into a string.
publicstatic String printFloat (float val)
  Converts a float value into a string.
publicstatic String printHexBinary (byte[] val)
  Converts an array of bytes into a string.
publicstatic String printInt (int val)
  Converts an int value into a string.
publicstatic String printInteger (BigInteger val)
  Converts a BigInteger value into a string.
publicstatic String printLong (long val)
  Converts A long value into a string.
publicstatic String printQName (QName val, NamespaceContext nsc)
  Converts a QName instance into a string.
publicstatic String printShort (short val)
  Converts a short value into a string.
publicstatic String printString (String val)
  Converts the string argument into a string.
publicstatic String printTime (Calendar val)
  Converts a Calendar value into a string.
publicstatic String printUnsignedInt (long val)
  Converts a long value into a string.
publicstatic String printUnsignedShort (int val)
  Converts an int value into a string.
publicstatic void setDatatypeConverter (DatatypeConverterInterface converter)
  This method is for JAXB provider use only.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar