com.thoughtworks.xstream.mapper.Mapper : The current mapper chain of the XStream
instance.com.thoughtworks.xstream.core.ClassLoaderReference : The reference to the class
loader used by the XStream instance to deserialize the objects.com.thoughtworks.xstream.converters.reflection.ReflectionProvider : The reflection
provider used by the reflection based converters of the current XStream instance.com.thoughtworks.xstream.converters.ConverterLookup : The lookup for converters
handling a special type.Class: The type of the element where the annotation is declared. Note, that this
argument is not supported when using
com.thoughtworks.xstream.annotations.XStreamConverters or useImplicitType()
== false.com.thoughtworks.xstream.core.JVM : Utility e.g. to load classes.ClassLoader (deprecated since 1.4.5): The class loader used by the XStream
instance to deserialize the objects. Use ClassLoaderReference as argumentThe algorithm will try the converter's constructor with the most arguments first.
Note, the annotation matches a ConverterMatcher.
com. as well as
com. extend this interface. The
com. can only handle these two
known types.
| Modifier and Type | Method and Description |
|---|---|
| public boolean[] | |
| public byte[] | |
| public char[] | |
| public double[] | |
| public float[] | |
| public int[] | |
| public long[] | |
| public Class | Returns: the types provided as null valuesProvide null types as arguments for the converter's constructor arguments. |
| public int | |
| public short[] | |
| public String[] | |
| public Class | Returns: the typesProvide class types as arguments for the converter's constructor arguments. |
| public boolean | Returns: true if the current type is providedFlag to provide the current type as implicit first Class argument to a converter's constructor. |
| public Class |
| booleans | back to summary |
|---|---|
| public boolean[] booleans() | |
| bytes | back to summary |
|---|---|
| public byte[] bytes() | |
| chars | back to summary |
|---|---|
| public char[] chars() | |
| doubles | back to summary |
|---|---|
| public double[] doubles() | |
| floats | back to summary |
|---|---|
| public float[] floats() | |
| ints | back to summary |
|---|---|
| public int[] ints() | |
| longs | back to summary |
|---|---|
| public long[] longs() | |
| nulls | back to summary |
|---|---|
| public Class Provide null types as arguments for the converter's constructor arguments.
| |
| priority | back to summary |
|---|---|
| public int priority() | |
| shorts | back to summary |
|---|---|
| public short[] shorts() | |
| strings | back to summary |
|---|---|
| public String[] strings() | |
| types | back to summary |
|---|---|
| public Class Provide class types as arguments for the converter's constructor arguments.
Note, that XStream itself provides the current class type as first Class argument to a
constructor, if the annotation is added directly to a class type (and not as part of a
parameter declaration of a
| |
| useImplicitType | back to summary |
|---|---|
| public boolean useImplicitType() Flag to provide the current type as implicit first Class argument to a converter's constructor.
| |
| value | back to summary |
|---|---|
| public Class | |