| 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)Implements com. |
| public Object | fromString(String
the String with the single value of the Object str)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 String | toString(Object
the Object to be converted obj)Implements com. |
| public Object | unmarshal(HierarchicalStreamReader
The stream to read the text from. reader, UnmarshallingContext context)Implements com. |
| CharConverter | back to summary |
|---|---|
| public CharConverter() | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(Class<T> type) Implements com. Doc from com. Determines whether the converter can marshall a particular type.
| |
| fromString | back to summary |
|---|---|
| public Object fromString(String str) Implements com. Doc from com. Unmarshals an Object from its single value representation. | |
| marshal | back to summary |
|---|---|
| public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) Implements com. Doc from com. Convert an object to textual data.
| |
| toString | back to summary |
|---|---|
| public String toString(Object obj) Implements com. Doc from com. Marshals an Object into a single value representation. | |
| unmarshal | back to summary |
|---|---|
| public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) Implements com. Doc from com. Convert textual data back into an object.
| |