jInfer

cz.cuni.mff.ksi.jinfer.basicigg.xml
Class TrivialHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by cz.cuni.mff.ksi.jinfer.basicigg.xml.TrivialHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class TrivialHandler
extends DefaultHandler

SAX handler for the Basic IGG module.


Constructor Summary
TrivialHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String localName, String qName)
           
 List<Element> getRules()
          Returns rules collected by this handler's run.
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrivialHandler

public TrivialHandler()
Method Detail

getRules

public List<Element> getRules()
Returns rules collected by this handler's run.

Returns:

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
Throws:
SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler
Throws:
SAXException

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011