Package com.saxonica.ee.stream.watch
Class Terminator
- java.lang.Object
-
- com.saxonica.ee.stream.watch.Terminator
-
public class Terminator extends java.lang.Object
A Terminator provides a method that can be called to cause early termination of a streaming pass over an input document, in the case where no more information from the document is needed.The default implementation does nothing when the terminate() method is called
-
-
Constructor Summary
Constructors Constructor Description Terminator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Terminator
getInstance()
void
terminate()
-
-
-
Method Detail
-
getInstance
public static Terminator getInstance()
-
terminate
public void terminate() throws QuitParsingException
- Throws:
QuitParsingException
-
-