The SAX ContentHandler interface

package org.xml.sax;


public interface ContentHandler {

  public void setDocumentLocator(Locator locator);
    
  public void startDocument() throws SAXException;
    
  public void endDocument() throws SAXException;
    
  public void startPrefixMapping(String prefix, String uri) 
   throws SAXException;

  public void endPrefixMapping(String prefix) throws SAXException;

  public void startElement(String namespaceURI, String localName,
   String rawName, Attributes atts) throws SAXException;

  public void endElement(String namespaceURI, String localName,
   String qualifiedName) throws SAXException;

  public void characters(char[] ch, int start, int length) 
   throws SAXException;

  public void ignorableWhitespace(char[] ch, int start, int length)
   throws SAXException;

  public void processingInstruction(String target, String data)
   throws SAXException;

  public void skippedEntity(String name) throws SAXException;
     
}

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified October 25, 2000