Class UnparsedTextIterator

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, SequenceIterator

    public class UnparsedTextIterator
    extends TextLinesIterator
    Class UnparsedTextIterator, iterates over a file line by line
    • Constructor Detail

      • UnparsedTextIterator

        public UnparsedTextIterator​(java.net.URI absoluteURI,
                                    XPathContext context,
                                    java.lang.String encoding,
                                    Location location)
                             throws XPathException
        Create a UnparsedTextIterator over a given file
        Parameters:
        absoluteURI - the URI identifying the file
        context - the dynamic evaluation context
        encoding - the expected encoding of the file
        location - the location of the instruction being executed
        Throws:
        XPathException - if a dynamic error occurs
      • UnparsedTextIterator

        public UnparsedTextIterator​(java.io.LineNumberReader reader,
                                    java.net.URI absoluteURI,
                                    XPathContext context,
                                    java.lang.String encoding)
                             throws XPathException
        Throws:
        XPathException