public class HTML40Emitter extends HTMLEmitter
version
attSpecials, canonical, characterReferenceGenerator, declarationIsWritten, delimiter, elementCode, elementStack, indentForNextAttribute, openStartTag, started, startedElement, undeclareNamespaces, unfailing
allCharactersEncodable, characterSet, outputProperties, outputStream, streamResult, writer
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
HTML40Emitter()
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 boolean |
rejectControlCharacters()
Ask whether control characters should be rejected: true for HTML4, false for HTML5
|
characters, endElement, isEmptyTag, open, processingInstruction, setEmptyTag, setEscapeNonAscii, startContent, startElement, writeAttribute, writeDocType, writeEscape
attribute, close, closeStartTag, comment, convertToAscii, emptyElementTagCloser, endDocument, getAttributeIndentString, isStarted, namespace, setCharacterReferenceGenerator, setIndentForNextAttribute, startDocument, testCharacters, usesTypeAnnotations, writeCharSequence, writeDeclaration, writeDocTypeWithNullSystemId
append, getOutputProperties, getOutputStream, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setStreamResult, setUnparsedEntity, setWriter, usesWriter
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, setPipelineConfiguration, setSystemId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, getPipelineConfiguration, handlesAppend, setPipelineConfiguration, setSystemId
protected boolean isHTMLElement(NodeName name)
isHTMLElement
in class HTMLEmitter
protected void openDocument() throws XPathException
XMLEmitter
openDocument
in class HTMLEmitter
XPathException
- f an error occurs opening the output fileprotected boolean rejectControlCharacters()
rejectControlCharacters
in class HTMLEmitter
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.