| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ClassLoaderReference | |
| private Mapper |
| Access | Constructor and Description |
|---|---|
| public | DynamicProxyConverter(Mapper mapper)
Deprecated
As of 1.4.5 use
DynamicProxyConverter(Mapper, ClassLoaderReference)
|
| public | DynamicProxyConverter(Mapper
the Mapper chain mapper, ClassLoaderReference the reference to the classLoaderReference)ClassLoader of the XStream instanceConstruct a DynamicProxyConverter. |
| public | DynamicProxyConverter(Mapper mapper, ClassLoader classLoader)
Deprecated
As of 1.4.5 use
DynamicProxyConverter(Mapper, ClassLoaderReference)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | canConvert(Class<T>
the Class representing the object type to be converted type)Implements com. |
| public void | marshal(Object
The object to be marshalled. source, HierarchicalStreamWriter A stream to write to. writer, MarshallingContext A context that allows nested objects to be processed by XStream. context)Implements com. |
| public Object | unmarshal(HierarchicalStreamReader
The stream to read the text from. reader, UnmarshallingContext context)Implements com. |
| classLoaderReference | back to summary |
|---|---|
| private ClassLoaderReference classLoaderReference | |
| mapper | back to summary |
|---|---|
| private Mapper mapper | |
| DynamicProxyConverter | back to summary |
|---|---|
| public DynamicProxyConverter(Mapper mapper)
Deprecated As of 1.4.5 use | |
| DynamicProxyConverter | back to summary |
|---|---|
| public DynamicProxyConverter(Mapper mapper, ClassLoaderReference classLoaderReference) Construct a DynamicProxyConverter.
| |
| DynamicProxyConverter | back to summary |
|---|---|
| public DynamicProxyConverter(Mapper mapper, ClassLoader classLoader)
Deprecated As of 1.4.5 use | |
| addInterfacesToXml | back to summary |
|---|---|
| private void addInterfacesToXml(Object source, HierarchicalStreamWriter writer) | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(Class<T> type) Implements com. Doc from com. Determines whether the converter can marshall a particular type.
| |
| marshal | back to summary |
|---|---|
| public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) Implements com. Doc from com. Convert an object to textual data.
| |
| unmarshal | back to summary |
|---|---|
| public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) Implements com. Doc from com. Convert textual data back into an object.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final InvocationHandler | |
| private static final Field |
| Access | Constructor and Description |
|---|---|
| private |
| DUMMY | back to summary |
|---|---|
| private static final InvocationHandler DUMMY | |
| HANDLER | back to summary |
|---|---|
| private static final Field HANDLER | |
| Reflections | back to summary |
|---|---|
| private Reflections() | |