com.thoughtworks.xstream.core
Class AbstractReferenceUnmarshaller
java.lang.Object
com.thoughtworks.xstream.core.TreeUnmarshaller
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller
- All Implemented Interfaces:
- DataHolder, UnmarshallingContext
- Direct Known Subclasses:
- ReferenceByIdUnmarshaller, ReferenceByXPathUnmarshaller
public abstract class AbstractReferenceUnmarshaller
- extends TreeUnmarshaller
Abstract base class for a TreeUnmarshaller, that resolves references.
- 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 |
AbstractReferenceUnmarshaller
public AbstractReferenceUnmarshaller(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper)
convert
protected Object convert(Object parent,
Class type,
Converter converter)
- Overrides:
convert
in class TreeUnmarshaller
getReferenceKey
protected abstract Object getReferenceKey(String reference)
getCurrentReferenceKey
protected abstract Object getCurrentReferenceKey()
Copyright © 2004-2014 XStream. All Rights Reserved.