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