com.icl.saxon.output
Class XHTMLEmitter

java.lang.Object
  |
  +--com.icl.saxon.output.XMLEmitter
        |
        +--com.icl.saxon.output.XHTMLEmitter
All Implemented Interfaces:
Emitter

public class XHTMLEmitter
extends XMLEmitter

XHTMLEmitter is an Emitter that generates XHTML output. It is the same as XMLEmitter except that it follows the legacy HTML browser compatibility rules: for example, generating empty elements such as
, and using

for empty paragraphs rather than


Fields inherited from class com.icl.saxon.output.XMLEmitter
characterSet, declarationIsWritten, empty, escaping, lastDisplayName, lastNameCode, lastPrefix, lastURI, namePool, openStartTag, outputDetails, preferHex, writer
 
Constructor Summary
XHTMLEmitter()
           
 
Method Summary
protected  java.lang.String emptyElementTagCloser(int nameCode)
          Close an empty element tag.
 
Methods inherited from class com.icl.saxon.output.XMLEmitter
characters, closeStartTag, comment, endDocument, endElement, outputCharacterReference, processingInstruction, setCharacterSet, setDocumentLocator, setEscaping, setNamePool, setOutputDetails, setUnparsedEntity, setWriter, startDocument, startElement, testCharacters, testCharacters, writeAttribute, writeDeclaration, writeDocType, writeEscape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHTMLEmitter

public XHTMLEmitter()
Method Detail

emptyElementTagCloser

protected java.lang.String emptyElementTagCloser(int nameCode)
Close an empty element tag.
Overrides:
emptyElementTagCloser in class XMLEmitter