com.thoughtworks.xstream.core
Class TreeUnmarshaller
java.lang.Object
com.thoughtworks.xstream.core.TreeUnmarshaller
- All Implemented Interfaces:
- DataHolder, UnmarshallingContext
- Direct Known Subclasses:
- AbstractReferenceUnmarshaller
public class TreeUnmarshaller
- extends Object
- implements UnmarshallingContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected HierarchicalStreamReader reader
TreeUnmarshaller
public TreeUnmarshaller(Object root,
HierarchicalStreamReader reader,
ConverterLookup converterLookup,
Mapper mapper)
convertAnother
public Object convertAnother(Object parent,
Class type)
- Specified by:
convertAnother
in interface UnmarshallingContext
convertAnother
public Object convertAnother(Object parent,
Class type,
Converter converter)
- Specified by:
convertAnother
in interface UnmarshallingContext
convert
protected Object convert(Object parent,
Class type,
Converter converter)
addCompletionCallback
public void addCompletionCallback(Runnable work,
int priority)
- Specified by:
addCompletionCallback
in interface UnmarshallingContext
currentObject
public Object currentObject()
- Specified by:
currentObject
in interface UnmarshallingContext
getRequiredType
public Class getRequiredType()
- Specified by:
getRequiredType
in interface UnmarshallingContext
get
public Object get(Object key)
- Specified by:
get
in interface DataHolder
put
public void put(Object key,
Object value)
- Specified by:
put
in interface DataHolder
keys
public Iterator keys()
- Specified by:
keys
in interface DataHolder
start
public Object start(DataHolder dataHolder)
getMapper
protected Mapper getMapper()
Copyright © 2004-2014 XStream. All Rights Reserved.