Package | Description |
---|---|
com.thoughtworks.xstream | |
com.thoughtworks.xstream.converters.extended |
Extra converters that may not be enabled in XStream by default.
|
com.thoughtworks.xstream.core | |
com.thoughtworks.xstream.mapper | |
com.thoughtworks.xstream.persistence |
Modifier and Type | Method and Description |
---|---|
ConverterLookup |
XStream.getConverterLookup() |
Modifier and Type | Method and Description |
---|---|
void |
MarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Object |
MarshallingStrategy.unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Constructor and Description |
---|
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
ClassLoader classLoader,
Mapper mapper,
ConverterLookup converterLookup,
ConverterRegistry converterRegistry)
|
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
ClassLoaderReference classLoaderReference,
Mapper mapper,
ConverterLookup converterLookup,
ConverterRegistry converterRegistry)
Constructs an XStream with a special
HierarchicalStreamDriver ,
ReflectionProvider , a prepared Mapper chain, the
ClassLoaderReference and an own ConverterLookup and
ConverterRegistry . |
Constructor and Description |
---|
NamedMapConverter(Class type,
Mapper mapper,
String entryName,
String keyName,
Class keyType,
String valueName,
Class valueType,
boolean keyAsAttribute,
boolean valueAsAttribute,
ConverterLookup lookup)
Constructs a NamedMapConverter with attribute support handling an explicit Map type.
|
NamedMapConverter(Mapper mapper,
String entryName,
String keyName,
Class keyType,
String valueName,
Class valueType,
boolean keyAsAttribute,
boolean valueAsAttribute,
ConverterLookup lookup)
Constructs a NamedMapConverter with attribute support.
|
ThrowableConverter(ConverterLookup lookup) |
ToAttributedValueConverter(Class type,
Mapper mapper,
ReflectionProvider reflectionProvider,
ConverterLookup lookup)
Creates a new ToAttributedValueConverter instance.
|
ToAttributedValueConverter(Class type,
Mapper mapper,
ReflectionProvider reflectionProvider,
ConverterLookup lookup,
String valueFieldName)
Creates a new ToAttributedValueConverter instance.
|
ToAttributedValueConverter(Class type,
Mapper mapper,
ReflectionProvider reflectionProvider,
ConverterLookup lookup,
String valueFieldName,
Class valueDefinedIn)
Creates a new ToAttributedValueConverter instance.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultConverterLookup
The default implementation of converters lookup.
|
Modifier and Type | Field and Description |
---|---|
protected ConverterLookup |
TreeMarshaller.converterLookup |
Modifier and Type | Method and Description |
---|---|
protected abstract TreeMarshaller |
AbstractTreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
TreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByIdMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByXPathMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected abstract TreeUnmarshaller |
AbstractTreeMarshallingStrategy.createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
TreeMarshallingStrategy.createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
ReferenceByIdMarshallingStrategy.createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
ReferenceByXPathMarshallingStrategy.createUnmarshallingContext(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
void |
AbstractTreeMarshallingStrategy.marshal(HierarchicalStreamWriter writer,
Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
Object |
AbstractTreeMarshallingStrategy.unmarshal(Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
void |
AttributeMapper.setConverterLookup(ConverterLookup converterLookup)
Deprecated.
As of 1.3
|
Constructor and Description |
---|
AnnotationMapper(Mapper wrapped,
ConverterRegistry converterRegistry,
ConverterLookup converterLookup,
ClassLoaderReference classLoaderReference,
ReflectionProvider reflectionProvider)
Construct an AnnotationMapper.
|
AnnotationMapper(Mapper wrapped,
ConverterRegistry converterRegistry,
ConverterLookup converterLookup,
ClassLoader classLoader,
ReflectionProvider reflectionProvider,
JVM jvm)
|
AttributeMapper(Mapper wrapped,
ConverterLookup converterLookup,
ReflectionProvider refProvider) |
EnumMapper(Mapper wrapped,
ConverterLookup lookup)
Deprecated.
As of 1.3.1, use
EnumMapper.EnumMapper(Mapper) |
Modifier and Type | Method and Description |
---|---|
protected ConverterLookup |
AbstractFilePersistenceStrategy.getConverterLookup() |
Copyright © 2004–2017 XStream. All rights reserved.