kxml.sax
Class KXmlSAXParser

java.lang.Object
  extended byorg.kxml.parser.AbstractXmlParser
      extended byorg.kxml.parser.XmlParser
          extended bykxml.sax.KXmlSAXParser

public class KXmlSAXParser
extends org.kxml.parser.XmlParser

The KXmlSAXParser extends the XmlParser from kxml. This is a very simple parser that does not take into account the DTD

Version:
1.0 08 Nov 2002, 1.1 24 Apr 2004
Author:
Humberto Cervantes, Didier Donsez

Field Summary
 String uri
           
 
Fields inherited from class org.kxml.parser.XmlParser
next
 
Fields inherited from class org.kxml.parser.AbstractXmlParser
processNamespaces
 
Constructor Summary
KXmlSAXParser(Reader r)
          The constructor for a parser, it receives a java.io.Reader.
 
Method Summary
 void parseXML(KXmlSAXHandler handler)
          Parser from the reader provided in the constructor, and call the startElement and endElement in a KxmlHandler
 
Methods inherited from class org.kxml.parser.XmlParser
getColumnNumber, getLineNumber, peek, read, readName, readTo, resolveCharacterEntity, setRelaxed
 
Methods inherited from class org.kxml.parser.AbstractXmlParser
ignoreTree, peek, read, readText, readTree, setProcessNamespaces, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

public String uri
Constructor Detail

KXmlSAXParser

public KXmlSAXParser(Reader r)
              throws IOException
The constructor for a parser, it receives a java.io.Reader.

Throws:
IOException - thrown by the superclass
Method Detail

parseXML

public void parseXML(KXmlSAXHandler handler)
              throws Exception
Parser from the reader provided in the constructor, and call the startElement and endElement in a KxmlHandler

Throws:
Exception - thrown by the superclass