public class FontConverter extends Object implements Converter
| Constructor and Description | 
|---|
FontConverter()
Deprecated. 
 
As of 1.4.5 
 | 
FontConverter(Mapper mapper)
Constructs a FontConverter. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canConvert(Class type)
Determines whether the converter can marshall a particular type. 
 | 
void | 
marshal(Object source,
       HierarchicalStreamWriter writer,
       MarshallingContext context)
Convert an object to textual data. 
 | 
Object | 
unmarshal(HierarchicalStreamReader reader,
         UnmarshallingContext context)
Convert textual data back into an object. 
 | 
public FontConverter()
public FontConverter(Mapper mapper)
mapper - public boolean canConvert(Class type)
ConverterMatchercanConvert in interface ConverterMatchertype - the Class representing the object type to be convertedpublic void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
Converterpublic Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)
ConverterCopyright © 2004–2016 XStream. All rights reserved.