Top Description Fields Constructors Methods
com.thoughtworks.xstream.core

public abstract Class AbstractReferenceUnmarshaller

extends TreeUnmarshaller
Class Inheritance
Known Direct Subclasses
com.thoughtworks.xstream.core.ReferenceByIdUnmarshaller, com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller
Imports
java.util.HashMap, .Map, com.thoughtworks.xstream.converters.ConversionException, .Converter, .ConverterLookup, com.thoughtworks.xstream.core.util.FastStack, com.thoughtworks.xstream.io.HierarchicalStreamReader, com.thoughtworks.xstream.mapper.Mapper

Abstract base class for a TreeUnmarshaller, that resolves references.
Authors
Joe Walnes, Jörg Schaible, Mauro Talevi
Since
1.2

Field Summary

Modifier and TypeField and Description
private static final Object
private FastStack
private Map<K, V>
Inherited from com.thoughtworks.xstream.core.TreeUnmarshaller:
reader

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Object
protected abstract Object
protected abstract Object
Inherited from com.thoughtworks.xstream.core.TreeUnmarshaller:
addCompletionCallbackconvertAnotherconvertAnothercurrentObjectgetgetMappergetRequiredTypekeysputstart

Field Detail

NULLback to summary
private static final Object NULL
parentStackback to summary
private FastStack parentStack
valuesback to summary
private Map<K, V> values

Constructor Detail

AbstractReferenceUnmarshallerback to summary
public AbstractReferenceUnmarshaller(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)

Method Detail

convertback to summary
protected Object convert(Object parent, Class<T> type, Converter converter)

Overrides com.thoughtworks.xstream.core.TreeUnmarshaller.convert.

getCurrentReferenceKeyback to summary
protected abstract Object getCurrentReferenceKey()
getReferenceKeyback to summary
protected abstract Object getReferenceKey(String reference)