public class XQueryEmitter extends XMLEmitter
attSpecials, canonical, characterReferenceGenerator, declarationIsWritten, delimiter, DOCTYPE, elementCode, elementStack, indentForNextAttribute, internalSubset, openStartTag, RIGHT_ANGLE_NEWLINE, specialInAtt, specialInAttSingle, specialInText, started, startedElement, undeclareNamespaces, unfailing
allCharactersEncodable, characterSet, outputProperties, writer
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
XQueryEmitter() |
Modifier and Type | Method and Description |
---|---|
protected void |
writeEscape(UnicodeString chars,
boolean inAttribute)
Write contents of array to current writer, after escaping special characters.
|
characters, close, closeStartTag, comment, convertToAscii, endDocument, endElement, isStarted, namespace, open, openDocument, processingInstruction, setCharacterReferenceGenerator, setEscapeNonAscii, setIndentForNextAttribute, startDocument, startElement, testCharacters, usesTypeAnnotations, writeAttribute, writeAttributeIndentString, writeCodePoint, writeDeclaration, writeDocType, writeDocTypeWithNullSystemId, writeEmptyElementTagCloser
append, getOutputProperties, setOutputProperties, setUnicodeWriter, setUnparsedEntity
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
protected void writeEscape(UnicodeString chars, boolean inAttribute) throws java.io.IOException, XPathException
writeEscape
in class XMLEmitter
chars
- The character sequence containing the stringinAttribute
- Set to true if the text is in an attribute valuejava.io.IOException
- if an IO exception occursXPathException
- if an IO exception occursCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.