fi.iki.hsivonen.xml
Class XhtmlSaxEmitter

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

public class XhtmlSaxEmitter
extends SaxEmitter

Version:
$Id: XhtmlSaxEmitter.java,v 1.5 2005/07/24 07:34:07 hsivonen Exp $
Author:
hsivonen

Field Summary
private  AttributesImpl attrs
           
static String XHTML_NS
           
 
Fields inherited from class fi.iki.hsivonen.xml.SaxEmitter
contentHandler
 
Constructor Summary
XhtmlSaxEmitter(ContentHandler contentHandler)
           
 
Method Summary
 void checkbox(String name, String value, boolean checked)
           
 void endElement(String name)
           
 void option(String label, String value, boolean selected)
           
 void startElement(String name)
           
 void startElement(String name, Attributes attrs)
           
 void startElementWithClass(String name, String clazz)
           
 
Methods inherited from class fi.iki.hsivonen.xml.SaxEmitter
characters, characters, endElement, startElement, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attrs

private final AttributesImpl attrs

XHTML_NS

public static final String XHTML_NS
See Also:
Constant Field Values
Constructor Detail

XhtmlSaxEmitter

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

startElement

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

startElement

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

endElement

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

startElementWithClass

public void startElementWithClass(String name,
                                  String clazz)
                           throws SAXException
Throws:
SAXException

option

public void option(String label,
                   String value,
                   boolean selected)
            throws SAXException
Throws:
SAXException

checkbox

public void checkbox(String name,
                     String value,
                     boolean checked)
              throws SAXException
Throws:
SAXException