Class TreeUnmarshaller
java.lang.Object
com.thoughtworks.xstream.core.TreeUnmarshaller
- All Implemented Interfaces:
DataHolder, UnmarshallingContext
- Direct Known Subclasses:
AbstractReferenceUnmarshaller
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ConverterLookupprivate DataHolderprivate Mapperprotected HierarchicalStreamReaderprivate Objectprivate FastStackprivate final PrioritizedList -
Constructor Summary
ConstructorsConstructorDescriptionTreeUnmarshaller(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompletionCallback(Runnable work, int priority) private voidaddInformationTo(ErrorWriter errorWriter, Class type, Converter converter, Object parent) protected ObjectconvertAnother(Object parent, Class type) convertAnother(Object parent, Class type, Converter converter) protected Mapperkeys()private voidvoidstart(DataHolder dataHolder)
-
Field Details
-
root
-
reader
-
converterLookup
-
mapper
-
types
-
dataHolder
-
validationList
-
-
Constructor Details
-
TreeUnmarshaller
public TreeUnmarshaller(Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
-
-
Method Details
-
convertAnother
- Specified by:
convertAnotherin interfaceUnmarshallingContext
-
convertAnother
- Specified by:
convertAnotherin interfaceUnmarshallingContext
-
convert
-
addInformationTo
private void addInformationTo(ErrorWriter errorWriter, Class type, Converter converter, Object parent) -
addCompletionCallback
- Specified by:
addCompletionCallbackin interfaceUnmarshallingContext
-
currentObject
- Specified by:
currentObjectin interfaceUnmarshallingContext
-
getRequiredType
- Specified by:
getRequiredTypein interfaceUnmarshallingContext
-
get
- Specified by:
getin interfaceDataHolder
-
put
- Specified by:
putin interfaceDataHolder
-
keys
- Specified by:
keysin interfaceDataHolder
-
lazilyCreateDataHolder
private void lazilyCreateDataHolder() -
start
-
getMapper
-