public class BigIntegerTranslator extends NumericValueTranslator<java.math.BigInteger>
BigInteger
. It can e.g. be used for the type
xsd:integer.MAX_STRING_REPRESENTATION_LENGTH
Constructor and Description |
---|
BigIntegerTranslator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<java.math.BigInteger> |
getObjectClass()
Returns the Java class of object instances created by this translator.
|
protected java.math.BigInteger |
parseValue(java.lang.String representation,
ReaderStreamDataProvider<?> streamDataProvider) |
representationToJava
hasStringRepresentation, javaToRepresentation, readXMLRepresentation, writeXMLRepresentation
equals, hashCode
public BigIntegerTranslator()
public java.lang.Class<java.math.BigInteger> getObjectClass()
ObjectTranslator
Note that ObjectTranslator.javaToRepresentation(Object, WriterStreamDataProvider)
and ObjectTranslator.writeXMLRepresentation(XMLStreamWriter, Object, WriterStreamDataProvider)
may also
accept instances of other classes. This is independent from the return value here.
protected java.math.BigInteger parseValue(java.lang.String representation, ReaderStreamDataProvider<?> streamDataProvider) throws java.lang.NumberFormatException
parseValue
in class NumericValueTranslator<java.math.BigInteger>
java.lang.NumberFormatException