com.thoughtworks.xstream.converters.basic |
Converters for common basic types in Java. These include
primitives (int, boolean, etc), wrapper objects (Integer, Boolean, etc),
String, StringBuffer, java.util.Date, null, java.net.URL,
java.math.BigInteger and java.math.BigDecimal.
These converters are enabled by default.
All of the basic converters will convert the item
into a single String, with no nested elements.
|
Java Source File Name | Type | Comment |
AbstractBasicConverter.java | Class | Base helper class for converters that can store the
state of an object as a single String. |
AbstractSingleValueConverter.java | Class | Base abstract implementation of
com.thoughtworks.xstream.converters.SingleValueConverter . |
BigDecimalConverter.java | Class | Converts a java.math.BigDecimal to a String, retaining
its precision. |
BigIntegerConverter.java | Class | Converts a java.math.BigInteger to a String. |
BooleanConverter.java | Class | Converts a boolean primitive or java.lang.Boolean wrapper to
a String. |
ByteConverter.java | Class | Converts a byte primitive or java.lang.Byte wrapper to
a String. |
CharConverter.java | Class | Converts a char primitive or java.lang.Character wrapper to
a String. |
DateConverter.java | Class | Converts a java.util.Date to a String as a date format,
retaining precision down to milliseconds. |
DateConverterTest.java | Class | |
DoubleConverter.java | Class | Converts a double primitive or java.lang.Double wrapper to
a String. |
FloatConverter.java | Class | Converts a float primitive or java.lang.Float wrapper to
a String. |
IntConverter.java | Class | Converts an int primitive or java.lang.Integer wrapper to
a String. |
LongConverter.java | Class | Converts a long primitive or java.lang.Long wrapper to
a String. |
NullConverter.java | Class | Special converter to signify nulls at the root level. |
ShortConverter.java | Class | Converts a short primitive or java.lang.Short wrapper to
a String. |
StringBufferConverter.java | Class | Converts the contents of a StringBuffer to XML. |
StringBuilderConverter.java | Class | Converts the contents of a StringBuilder to XML. |
StringConverter.java | Class | Converts a String to a String ;).
Well ok, it doesn't actually do any conversion. |
ThreadSafeSimpleDateFormat.java | Class | Wrapper around java.text.SimpleDateFormat that can
be called by multiple threads concurrently. |
URLConverter.java | Class | Converts a java.net.URL to a string.
author: J. |
URLConverterTest.java | Class | |
UUIDConverter.java | Class | Converts a java.util.UUID to a string. |