com.thoughtworks.xstream.core
Class AbstractReferenceMarshaller
java.lang.Object
com.thoughtworks.xstream.core.TreeMarshaller
com.thoughtworks.xstream.core.AbstractReferenceMarshaller
- All Implemented Interfaces:
- DataHolder, MarshallingContext
- Direct Known Subclasses:
- ReferenceByIdMarshaller, ReferenceByXPathMarshaller
public abstract class AbstractReferenceMarshaller
- extends TreeMarshaller
Abstract base class for a TreeMarshaller, that can build refrences.
- Since:
- 1.2
- Author:
- Joe Walnes, Jörg Schaible, Mauro Talevi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractReferenceMarshaller
public AbstractReferenceMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper)
convert
public void convert(java.lang.Object item,
Converter converter)
- Overrides:
convert in class TreeMarshaller
createReference
protected abstract java.lang.String createReference(Path currentPath,
java.lang.Object existingReferenceKey)
createReferenceKey
protected abstract java.lang.Object createReferenceKey(Path currentPath)
fireValidReference
protected abstract void fireValidReference(java.lang.Object referenceKey)
Copyright © 2006 null. All Rights Reserved.