kxml.sax
Interface KXmlSAXHandler

All Known Implementing Classes:
XmlCommonHandler

public interface KXmlSAXHandler

Interface for SAX handler with kXML

Author:
Didier Donsez (didier.donsez@imag.fr)

Method Summary
 void characters(char[] ch, int offset, int length)
          Method called when parsing text
 void endElement(String uri, String localName, String qName)
          Method called when a tag closes
 void processingInstruction(String target, String data)
           
 void setColumnNumber(int columnNumber)
           
 void setLineNumber(int lineNumber)
           
 void startElement(String uri, String localName, String qName, Properties attrib)
          Method called when a tag opens
 

Method Detail

characters

public void characters(char[] ch,
                       int offset,
                       int length)
                throws Exception
Method called when parsing text

Parameters:
ch -
offset -
length -
Throws:
SAXException
Exception

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Properties attrib)
                  throws Exception
Method called when a tag opens

Parameters:
uri -
localName -
qName -
attrib -
Throws:
SAXException
Exception

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
                throws Exception
Method called when a tag closes

Parameters:
uri -
localName -
qName -
Throws:
SAXException
Exception

processingInstruction

public void processingInstruction(String target,
                                  String data)
                           throws Exception
Throws:
Exception

setLineNumber

public void setLineNumber(int lineNumber)

setColumnNumber

public void setColumnNumber(int columnNumber)