public class OutputHandlerRouter extends Object implements IAbstractOutputHandler
Constructor and Description |
---|
OutputHandlerRouter(IAbstractOutputHandler... ohs) |
Modifier and Type | Method and Description |
---|---|
List<IAbstractOutputHandler> |
getOutputHandlers() |
boolean |
hasOuterException() |
void |
processNode(OXPathExtractionNode node)
The OXPath engine invokes this method to output extraction nodes.
|
void |
receiveOuterException(Throwable e)
This method is called by the OXPath engine if the exception affecting the output has been received.
|
public OutputHandlerRouter(IAbstractOutputHandler... ohs)
public List<IAbstractOutputHandler> getOutputHandlers()
public void processNode(OXPathExtractionNode node)
IAbstractOutputHandler
<result>
node, the root. The last node is the "end node".processNode
in interface IAbstractOutputHandler
public void receiveOuterException(Throwable e)
IAbstractOutputHandler
receiveOuterException
in interface IAbstractOutputHandler
public boolean hasOuterException()
hasOuterException
in interface IAbstractOutputHandler
Copyright © 2020 OXPath Team. All rights reserved.