net.sf.saxon.event
Class XHTMLEmitter
- Result, Receiver
public class XHTMLEmitter
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 [BR /], and
using [p][/p] for empty paragraphs rather than [p/]
protected String | emptyElementTagCloser(String displayName, int nameCode)- Close an empty element tag.
|
protected void | openDocument()- Do the real work of starting the document.
|
attribute, characters, close, closeStartTag, comment, emptyElementTagCloser, endDocument, endElement, namespace, open, openDocument, outputCharacterReference, processingInstruction, startContent, startDocument, startElement, testCharacters, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeEscape |
getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriter |
emptyElementTagCloser
protected String emptyElementTagCloser(String displayName,
int nameCode) Close an empty element tag.
- emptyElementTagCloser in interface XMLEmitter
openDocument
protected void openDocument()
throws XPathException Do the real work of starting the document. This happens when the first
content is written.
- openDocument in interface XMLEmitter