Package | Description |
---|---|
com.thoughtworks.xstream | |
com.thoughtworks.xstream.annotations | |
com.thoughtworks.xstream.converters.extended |
Extra converters that may not be enabled in XStream by default.
|
com.thoughtworks.xstream.converters.reflection | |
com.thoughtworks.xstream.core | |
com.thoughtworks.xstream.mapper |
Modifier and Type | Method and Description |
---|---|
ReflectionProvider |
XStream.getReflectionProvider()
Retrieve the
ReflectionProvider in use. |
Constructor and Description |
---|
XStream(ReflectionProvider reflectionProvider)
Constructs an XStream with a special
ReflectionProvider . |
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver hierarchicalStreamDriver)
Constructs an XStream with a special
HierarchicalStreamDriver and ReflectionProvider . |
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
java.lang.ClassLoader classLoader)
Deprecated.
|
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
java.lang.ClassLoader classLoader,
Mapper mapper)
Deprecated.
|
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
java.lang.ClassLoader classLoader,
Mapper mapper,
ConverterLookup converterLookup,
ConverterRegistry converterRegistry)
|
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
ClassLoaderReference classLoaderReference)
Constructs an XStream with a special
HierarchicalStreamDriver , ReflectionProvider and a
ClassLoaderReference . |
XStream(ReflectionProvider reflectionProvider,
HierarchicalStreamDriver driver,
ClassLoaderReference classLoaderReference,
Mapper mapper)
Constructs an XStream with a special
HierarchicalStreamDriver , ReflectionProvider , a prepared
Mapper chain and the ClassLoaderReference . |
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 . |
XStream(ReflectionProvider reflectionProvider,
Mapper mapper,
HierarchicalStreamDriver driver)
Deprecated.
As of 1.3, use
XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader, Mapper)
instead |
Constructor and Description |
---|
AnnotationReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
AnnotationProvider annotationProvider)
Deprecated.
|
Constructor and Description |
---|
LookAndFeelConverter(Mapper mapper,
ReflectionProvider reflectionProvider)
Constructs a LookAndFeelConverter.
|
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 |
PureJavaReflectionProvider
Pure Java ObjectFactory that instantiates objects using standard Java reflection, however the types of objects that
can be constructed are limited.
|
class |
ReflectionProviderWrapper
A wrapper implementation for the ReflectionProvider.
|
class |
Sun14ReflectionProvider
Deprecated.
As of 1.4.7 use
SunUnsafeReflectionProvider |
class |
SunLimitedUnsafeReflectionProvider
Instantiates a new object bypassing the constructor using undocumented internal JDK features.
|
class |
SunUnsafeReflectionProvider
Instantiates a new object bypassing the constructor using undocumented internal JDK features.
|
Modifier and Type | Field and Description |
---|---|
protected ReflectionProvider |
AbstractReflectionConverter.reflectionProvider |
protected ReflectionProvider |
ReflectionProviderWrapper.wrapped |
Constructor and Description |
---|
AbstractReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider) |
CGLIBEnhancedConverter(Mapper mapper,
ReflectionProvider reflectionProvider)
Deprecated.
|
CGLIBEnhancedConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
java.lang.ClassLoader classLoader)
Deprecated.
|
CGLIBEnhancedConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
ClassLoaderReference classLoaderReference)
Construct a CGLIBEnhancedConverter.
|
LambdaConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
ClassLoaderReference classLoaderReference)
Constructs a LambdaConverter.
|
ReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider) |
ReflectionConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
java.lang.Class type)
Construct a ReflectionConverter for an explicit type.
|
ReflectionProviderWrapper(ReflectionProvider wrapper) |
SerializableConverter(Mapper mapper,
ReflectionProvider reflectionProvider)
Deprecated.
|
SerializableConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
java.lang.ClassLoader classLoader)
Deprecated.
|
SerializableConverter(Mapper mapper,
ReflectionProvider reflectionProvider,
ClassLoaderReference classLoaderReference)
Construct a SerializableConverter.
|
Modifier and Type | Method and Description |
---|---|
ReflectionProvider |
JVM.bestReflectionProvider()
Deprecated.
As of 1.4.5 use
JVM.newReflectionProvider() |
static ReflectionProvider |
JVM.newReflectionProvider()
Create the best matching ReflectionProvider.
|
static ReflectionProvider |
JVM.newReflectionProvider(FieldDictionary dictionary)
Create the best matching ReflectionProvider.
|
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) |
ImplicitCollectionMapper(Mapper wrapped,
ReflectionProvider reflectionProvider) |
Copyright © 2004–2024 XStream. All rights reserved.