fi.karppinen.xml
Class XhtmlEmitter

java.lang.Object
  extended by fi.iki.hsivonen.xml.SaxEmitter
      extended by fi.iki.hsivonen.xml.XhtmlSaxEmitter
          extended by fi.karppinen.xml.XhtmlEmitter

public class XhtmlEmitter
extends XhtmlSaxEmitter

Additional methods to XhtmlSaxEmitter.

Version:
$Id: XhtmlEmitter.java,v 1.2 2006/12/01 12:37:00 hsivonen Exp $
Author:
hsivonen

Field Summary
protected  AttributesImpl attrs
           
 
Fields inherited from class fi.iki.hsivonen.xml.XhtmlSaxEmitter
XHTML_NS
 
Fields inherited from class fi.iki.hsivonen.xml.SaxEmitter
contentHandler
 
Constructor Summary
XhtmlEmitter(ContentHandler contentHandler)
           
 
Method Summary
 void checkbox(String name, boolean checked)
           
 void headCell(String text, String align)
           
 void hidden(String name, String value)
           
 void radioButton(String name, String value, boolean checked)
           
 void radioButtonCell(String name, String value, boolean checked, String align)
           
 void startElement(String name, Locale lang)
           
 void startElementWithClass(String name, String clazz)
           
 void submitButton(String name, String value)
           
 void textarea(String name, String value)
           
 void textCell(String text, String align)
           
 void textInput(String name, String value)
           
 
Methods inherited from class fi.iki.hsivonen.xml.XhtmlSaxEmitter
checkbox, endElement, option, startElement, startElement
 
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

protected AttributesImpl attrs
Constructor Detail

XhtmlEmitter

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

startElementWithClass

public void startElementWithClass(String name,
                                  String clazz)
                           throws SAXException
Overrides:
startElementWithClass in class XhtmlSaxEmitter
Throws:
SAXException

headCell

public void headCell(String text,
                     String align)
              throws SAXException
Throws:
SAXException

textCell

public void textCell(String text,
                     String align)
              throws SAXException
Throws:
SAXException

radioButton

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

checkbox

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

radioButtonCell

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

submitButton

public void submitButton(String name,
                         String value)
                  throws SAXException
Throws:
SAXException

textarea

public void textarea(String name,
                     String value)
              throws SAXException
Throws:
SAXException

startElement

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

textInput

public void textInput(String name,
                      String value)
               throws SAXException
Parameters:
string -
answer -
Throws:
SAXException

hidden

public void hidden(String name,
                   String value)
            throws SAXException
Parameters:
string -
answer -
Throws:
SAXException