fi.iki.hsivonen.xml
Class SaxEmitter

java.lang.Object
  extended by fi.iki.hsivonen.xml.SaxEmitter
Direct Known Subclasses:
XhtmlSaxEmitter

public class SaxEmitter
extends Object

Version:
$Id: SaxEmitter.java,v 1.2 2005/01/27 15:31:14 hsivonen Exp $
Author:
hsivonen

Field Summary
protected  ContentHandler contentHandler
           
 
Constructor Summary
SaxEmitter(ContentHandler contentHandler)
           
 
Method Summary
 void characters(char[] content)
           
 void characters(String content)
           
 void endElement(String ns, String name)
           
 void startElement(String ns, String name)
           
 void startElement(String ns, String name, Attributes attrs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentHandler

protected ContentHandler contentHandler
Constructor Detail

SaxEmitter

public SaxEmitter(ContentHandler contentHandler)
Parameters:
contentHandler -
Method Detail

startElement

public void startElement(String ns,
                         String name,
                         Attributes attrs)
                  throws SAXException
Throws:
SAXException

startElement

public void startElement(String ns,
                         String name)
                  throws SAXException
Throws:
SAXException

endElement

public void endElement(String ns,
                       String name)
                throws SAXException
Throws:
SAXException

characters

public void characters(String content)
                throws SAXException
Throws:
SAXException

characters

public void characters(char[] content)
                throws SAXException
Throws:
SAXException