public class HTML50Emitter extends HTMLEmitter
versioncharacterReferenceGenerator, declarationIsWritten, elementCode, elementStack, indentForNextAttribute, openStartTag, started, startedElement, undeclareNamespacesallCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writerPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
HTML50Emitter()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isHTMLElement(NodeName name)
Decide whether an element is "serialized as an HTML element" in the language of the 3.0 specification
|
protected void |
openDocument()
Do the real work of starting the document.
|
protected void |
writeDocType(NodeName name,
String displayName,
String systemId,
String publicId)
Output the document type declaration
|
protected boolean |
writeDocTypeWithNullSystemId() |
characters, endElement, isEmptyTag, open, processingInstruction, setEmptyTag, setEscapeNonAscii, startContent, startElement, writeAttribute, writeEscapeattribute, close, closeStartTag, comment, emptyElementTagCloser, endDocument, getAttributeIndentString, namespace, setCharacterReferenceGenerator, setIndentForNextAttribute, startDocument, testCharacters, usesTypeAnnotations, writeCharSequence, writeDeclarationgetConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriterprotected boolean isHTMLElement(NodeName name)
isHTMLElement in class HTMLEmitterprotected void openDocument()
throws XPathException
XMLEmitteropenDocument in class HTMLEmitterXPathException - f an error occurs opening the output fileprotected void writeDocType(NodeName name, String displayName, String systemId, String publicId) throws XPathException
writeDocType in class HTMLEmitterdisplayName - The element namesystemId - The DOCTYP system identifierpublicId - The DOCTYPE public identifiername - the qualified name of the elementXPathException - if an error occurs writing to the outputprotected boolean writeDocTypeWithNullSystemId()
writeDocTypeWithNullSystemId in class XMLEmitterCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.