gnu.kawa.xml
Class XMLParser

java.lang.Object
  extended by gnu.xml.XMLParserChar
      extended by gnu.kawa.xml.XMLParser

public class XMLParser
extends XMLParserChar


Field Summary
 
Fields inherited from class gnu.xml.XMLParserChar
buffer, in, limit, pos
 
Constructor Summary
XMLParser(LineBufferedReader reader, Consumer out, SourceMessages messages)
           
XMLParser(LineBufferedReader reader, SourceMessages messages, Consumer out)
           
XMLParser(java.net.URL url, SourceMessages messages, Consumer out)
           
 
Method Summary
 void error(char severity, java.lang.String message)
           
 int fill(char[] buffer, int start, int pos)
          Fill the buffer with more data.
 int getColumnNumber()
           
 int getLineNumber()
           
 java.lang.String getName()
           
 
Methods inherited from class gnu.xml.XMLParserChar
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLParser

public XMLParser(LineBufferedReader reader,
                 SourceMessages messages,
                 Consumer out)

XMLParser

public XMLParser(LineBufferedReader reader,
                 Consumer out,
                 SourceMessages messages)

XMLParser

public XMLParser(java.net.URL url,
                 SourceMessages messages,
                 Consumer out)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

fill

public int fill(char[] buffer,
                int start,
                int pos)
Description copied from class: XMLParserChar
Fill the buffer with more data.

Overrides:
fill in class XMLParserChar
start - start of current token.
pos - index of current read position

error

public void error(char severity,
                  java.lang.String message)
Overrides:
error in class XMLParserChar

getName

public java.lang.String getName()

getLineNumber

public int getLineNumber()

getColumnNumber

public int getColumnNumber()