public class PathTrackingReader extends ReaderWrapper
PathTracker
,
Path
wrapped
Constructor and Description |
---|
PathTrackingReader(HierarchicalStreamReader reader,
PathTracker pathTracker) |
Modifier and Type | Method and Description |
---|---|
void |
appendErrors(ErrorWriter errorWriter)
If any errors are detected, allow the reader to add any additional information that can aid debugging
(such as line numbers, XPath expressions, etc).
|
void |
moveDown()
Select the current child as current node.
|
void |
moveUp()
Select the parent node as current node.
|
close, getAttribute, getAttribute, getAttributeCount, getAttributeName, getAttributeNames, getNodeName, getValue, hasMoreChildren, peekNextChild, underlyingReader
public PathTrackingReader(HierarchicalStreamReader reader, PathTracker pathTracker)
public void moveDown()
HierarchicalStreamReader
HierarchicalStreamReader.moveUp()
.moveDown
in interface HierarchicalStreamReader
moveDown
in class ReaderWrapper
public void moveUp()
HierarchicalStreamReader
moveUp
in interface HierarchicalStreamReader
moveUp
in class ReaderWrapper
public void appendErrors(ErrorWriter errorWriter)
HierarchicalStreamReader
appendErrors
in interface ErrorReporter
appendErrors
in interface HierarchicalStreamReader
appendErrors
in class ReaderWrapper
errorWriter
- the error writerCopyright © 2004–2024 XStream. All rights reserved.