public class TreeUnmarshaller extends Object implements UnmarshallingContext
Modifier and Type | Field and Description |
---|---|
protected HierarchicalStreamReader |
reader |
Constructor and Description |
---|
TreeUnmarshaller(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
void |
addCompletionCallback(Runnable work,
int priority) |
protected Object |
convert(Object parent,
Class type,
Converter converter) |
Object |
convertAnother(Object parent,
Class type) |
Object |
convertAnother(Object parent,
Class type,
Converter converter) |
Object |
currentObject() |
Object |
get(Object key) |
protected Mapper |
getMapper() |
Class |
getRequiredType() |
Iterator |
keys() |
void |
put(Object key,
Object value) |
Object |
start(DataHolder dataHolder) |
protected HierarchicalStreamReader reader
public TreeUnmarshaller(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
public Object convertAnother(Object parent, Class type)
convertAnother
in interface UnmarshallingContext
public Object convertAnother(Object parent, Class type, Converter converter)
convertAnother
in interface UnmarshallingContext
public void addCompletionCallback(Runnable work, int priority)
addCompletionCallback
in interface UnmarshallingContext
public Object currentObject()
currentObject
in interface UnmarshallingContext
public Class getRequiredType()
getRequiredType
in interface UnmarshallingContext
public Object get(Object key)
get
in interface DataHolder
public void put(Object key, Object value)
put
in interface DataHolder
public Iterator keys()
keys
in interface DataHolder
public Object start(DataHolder dataHolder)
protected Mapper getMapper()
Copyright © 2004–2017 XStream. All rights reserved.