| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canConvert(Class<T>
the Class representing the object type to be converted type)Overrides com. 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)Overrides com. Implements com. |
| public Object | unmarshal(HierarchicalStreamReader
The stream to read the text from. reader, UnmarshallingContext context)Overrides com. Implements com. |
| EnumMapConverter | back to summary |
|---|---|
| public EnumMapConverter(Mapper mapper) | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(Class<T> type) Overrides com. 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) Overrides com. Implements com. Doc from com. Convert an object to textual data.
| |
| unmarshal | back to summary |
|---|---|
| public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) Overrides com. Implements com. Doc from com. Convert textual data back into an object.
| |
| Access | Constructor and Description |
|---|---|
| private |
| typeField | back to summary |
|---|---|
| private static final Field typeField | |
| Reflections | back to summary |
|---|---|
| private Reflections() | |