public class NodeOutputHandler extends ACustomOutputHandler implements IWithAccumulativeOutput<List<OXPathExtractionNode>>
OXPathExtractionNode
objects. This class has the disadvantage of storing all output in memory before it is returned of handling all output
in memory in order to build the document.
The end node is not included into the output.DEFAULT_WRAPPER_ID
Constructor and Description |
---|
NodeOutputHandler() |
NodeOutputHandler(boolean allowMultipleValuesPerAttribute) |
Modifier and Type | Method and Description |
---|---|
List<OXPathExtractionNode> |
getAccumulativeOutput() |
protected void |
processNodeImpl(OXPathExtractionNode node) |
getAllowMultipleValuesPerAttribute, getAttributesSeenPerTuple, getOuterExceptions, getOuterExceptionStackTracesAsString, getWrapperId, hasOuterException, isEndNodeReceived, logInfo, processNode, receiveOuterException
public NodeOutputHandler()
public NodeOutputHandler(boolean allowMultipleValuesPerAttribute)
protected void processNodeImpl(OXPathExtractionNode node)
processNodeImpl
in class ACustomOutputHandler
public List<OXPathExtractionNode> getAccumulativeOutput()
getAccumulativeOutput
in interface IWithAccumulativeOutput<List<OXPathExtractionNode>>
Copyright © 2020 OXPath Team. All rights reserved.