com.thoughtworks.xstream.converters.composite
Class ObjectWithFieldsConverter
java.lang.Object
|
+--com.thoughtworks.xstream.converters.composite.ObjectWithFieldsConverter
- All Implemented Interfaces:
- Converter
- public class ObjectWithFieldsConverter
- extends java.lang.Object
- implements Converter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectWithFieldsConverter
public ObjectWithFieldsConverter(ClassMapper classMapper)
canConvert
public boolean canConvert(java.lang.Class type)
- Specified by:
canConvert
in interface Converter
toXML
public void toXML(ObjectTree objectGraph,
XMLWriter xmlWriter,
ConverterLookup converterLookup)
- Specified by:
toXML
in interface Converter
writeClassAttributeInXMLIfNotDefaultImplementation
protected void writeClassAttributeInXMLIfNotDefaultImplementation(ObjectTree objectGraph,
XMLWriter xmlWriter)
fromXML
public void fromXML(ObjectTree objectGraph,
XMLReader xmlReader,
ConverterLookup converterLookup,
java.lang.Class requiredType)
- Specified by:
fromXML
in interface Converter
Copyright © 2003 ThoughtWorks, Inc. All Rights Reserved.