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,
java.lang.Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
java.lang.Object |
MarshallingStrategy.unmarshal(java.lang.Object root,
HierarchicalStreamReader reader,
DataHolder dataHolder,
ConverterLookup converterLookup,
Mapper mapper) |
Constructor and Description |
---|
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
java.lang.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(java.lang.Class type,
Mapper mapper,
java.lang.String entryName,
java.lang.String keyName,
java.lang.Class keyType,
java.lang.String valueName,
java.lang.Class valueType,
boolean keyAsAttribute,
boolean valueAsAttribute,
ConverterLookup lookup)
Constructs a NamedMapConverter with attribute support handling an explicit Map type.
|
NamedMapConverter(Mapper mapper,
java.lang.String entryName,
java.lang.String keyName,
java.lang.Class keyType,
java.lang.String valueName,
java.lang.Class valueType,
boolean keyAsAttribute,
boolean valueAsAttribute,
ConverterLookup lookup)
Constructs a NamedMapConverter with attribute support.
|
ThrowableConverter(ConverterLookup lookup) |
ToAttributedValueConverter(java.lang.Class type,
Mapper mapper,
ReflectionProvider reflectionProvider,
ConverterLookup lookup)
Creates a new ToAttributedValueConverter instance.
|
ToAttributedValueConverter(java.lang.Class type,
Mapper mapper,
ReflectionProvider reflectionProvider,
ConverterLookup lookup,
java.lang.String valueFieldName)
Creates a new ToAttributedValueConverter instance.
|
ToAttributedValueConverter(java.lang.Class type,
Mapper mapper,
ReflectionProvider reflectionProvider,
ConverterLookup lookup,
java.lang.String valueFieldName,
java.lang.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 TreeMarshaller |
TreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByXPathMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected abstract TreeMarshaller |
AbstractTreeMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeMarshaller |
ReferenceByIdMarshallingStrategy.createMarshallingContext(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
TreeMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
ReferenceByXPathMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected abstract TreeUnmarshaller |
AbstractTreeMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
protected TreeUnmarshaller |
ReferenceByIdMarshallingStrategy.createUnmarshallingContext(java.lang.Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
void |
AbstractTreeMarshallingStrategy.marshal(HierarchicalStreamWriter writer,
java.lang.Object obj,
ConverterLookup converterLookup,
Mapper mapper,
DataHolder dataHolder) |
java.lang.Object |
AbstractTreeMarshallingStrategy.unmarshal(java.lang.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,
java.lang.ClassLoader classLoader,
ReflectionProvider reflectionProvider,
JVM jvm)
Deprecated.
|
AttributeMapper(Mapper wrapped,
ConverterLookup converterLookup,
ReflectionProvider refProvider) |
EnumMapper(Mapper wrapped,
ConverterLookup lookup)
Deprecated.
As of 1.3.1, use
EnumMapper(Mapper) |
Modifier and Type | Method and Description |
---|---|
protected ConverterLookup |
AbstractFilePersistenceStrategy.getConverterLookup() |
Copyright © 2004–2024 XStream. All rights reserved.