Class XHTMLEmitter
java.lang.Object
com.icl.saxon.output.Emitter
com.icl.saxon.output.XMLEmitter
com.icl.saxon.output.XHTMLEmitter
- All Implemented Interfaces:
Result
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
, and using for empty paragraphs rather than
-
Field Summary
Fields inherited from class XMLEmitter
attbuff1, characterSet, declarationIsWritten, docTypeWritten, empty, escaping, lastDisplayName, lastNameCode, lastPrefix, lastURI, openStartTag, preferHex, specialInAtt, specialInTextFields inherited from class Emitter
locator, namePool, outputProperties, outputStream, systemId, writerFields inherited from interface Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringemptyElementTagCloser(int nameCode) Close an empty element tag.Methods inherited from class XMLEmitter
characters, closeStartTag, comment, endDocument, endElement, outputCharacterReference, processingInstruction, setDocumentLocator, setEscaping, setOutputProperties, setResult, setUnparsedEntity, startDocument, startElement, testCharacters, testCharacters, writeAttribute, writeDeclaration, writeDocType, writeEscapeMethods inherited from class Emitter
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setNamePool, setOutputStream, setSystemId, setWriter, usesWriter
-
Constructor Details
-
XHTMLEmitter
public XHTMLEmitter()
-
-
Method Details
-
emptyElementTagCloser
Close an empty element tag.- Overrides:
emptyElementTagCloserin classXMLEmitter
-