Package com.thoughtworks.xstream.core
Class ReferenceByXPathUnmarshaller
- java.lang.Object
-
- com.thoughtworks.xstream.core.TreeUnmarshaller
-
- com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller
-
- com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller
-
- All Implemented Interfaces:
DataHolder
,UnmarshallingContext
public class ReferenceByXPathUnmarshaller extends AbstractReferenceUnmarshaller
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isNameEncoding
private PathTracker
pathTracker
-
Fields inherited from class com.thoughtworks.xstream.core.TreeUnmarshaller
reader
-
-
Constructor Summary
Constructors Constructor Description ReferenceByXPathUnmarshaller(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getCurrentReferenceKey()
protected java.lang.Object
getReferenceKey(java.lang.String reference)
-
Methods inherited from class com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller
convert
-
Methods inherited from class com.thoughtworks.xstream.core.TreeUnmarshaller
addCompletionCallback, convertAnother, convertAnother, currentObject, get, getMapper, getRequiredType, keys, put, start
-
-
-
-
Field Detail
-
pathTracker
private PathTracker pathTracker
-
isNameEncoding
protected boolean isNameEncoding
-
-
Constructor Detail
-
ReferenceByXPathUnmarshaller
public ReferenceByXPathUnmarshaller(java.lang.Object root, HierarchicalStreamReader reader, ConverterLookup converterLookup, Mapper mapper)
-
-
Method Detail
-
getReferenceKey
protected java.lang.Object getReferenceKey(java.lang.String reference)
- Specified by:
getReferenceKey
in classAbstractReferenceUnmarshaller
-
getCurrentReferenceKey
protected java.lang.Object getCurrentReferenceKey()
- Specified by:
getCurrentReferenceKey
in classAbstractReferenceUnmarshaller
-
-