| Access | Constructor and Description |
|---|---|
| public | |
| public | RegexPatternConverter(Converter defaultConverter)
Deprecated
As of 1.4.5, use
RegexPatternConverter() instead
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canConvert(final 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. |
| RegexPatternConverter | back to summary |
|---|---|
public RegexPatternConverter()
| |
| RegexPatternConverter | back to summary |
|---|---|
| public RegexPatternConverter(Converter defaultConverter)
Deprecated As of 1.4.5, use | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(final 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.
| |