Package net.sf.saxon.tree.iter
Class UnparsedTextIterator
- java.lang.Object
-
- net.sf.saxon.tree.iter.TextLinesIterator
-
- net.sf.saxon.tree.iter.UnparsedTextIterator
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SequenceIterator
public class UnparsedTextIterator extends TextLinesIterator
Class UnparsedTextIterator, iterates over a file line by line
-
-
Constructor Summary
Constructors Constructor Description UnparsedTextIterator(LineNumberReader reader, URI absoluteURI, XPathContext context, String encoding)
UnparsedTextIterator(URI absoluteURI, XPathContext context, String encoding, Location location)
Create a UnparsedTextIterator over a given file
-
-
-
Field Detail
-
context
XPathContext context
-
encoding
String encoding
-
-
Constructor Detail
-
UnparsedTextIterator
public UnparsedTextIterator(URI absoluteURI, XPathContext context, String encoding, Location location) throws XPathException
Create a UnparsedTextIterator over a given file- Parameters:
absoluteURI
- the URI identifying the filecontext
- the dynamic evaluation contextencoding
- the expected encoding of the filelocation
- the location of the instruction being executed- Throws:
XPathException
- if a dynamic error occurs
-
UnparsedTextIterator
public UnparsedTextIterator(LineNumberReader reader, URI absoluteURI, XPathContext context, String encoding) throws XPathException
- Throws:
XPathException
-
-