Package 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
Abstract base class for a TreeUnmarshaller, that resolves references.
- Since:
- 1.2
-
Field Summary
FieldsFields inherited from class com.thoughtworks.xstream.core.TreeUnmarshaller
reader
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractReferenceUnmarshaller
(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
protected abstract Object
protected abstract Object
getReferenceKey
(String reference) Methods inherited from class com.thoughtworks.xstream.core.TreeUnmarshaller
addCompletionCallback, convertAnother, convertAnother, currentObject, get, getMapper, getRequiredType, keys, put, start
-
Field Details
-
NULL
-
values
-
parentStack
-
-
Constructor Details
-
AbstractReferenceUnmarshaller
public AbstractReferenceUnmarshaller(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
-
-
Method Details
-
convert
- Overrides:
convert
in classTreeUnmarshaller
-
getReferenceKey
-
getCurrentReferenceKey
-