public class MessageEmitter extends XMLEmitter
xsl:message instruction. These changes can be overridden
in a user-supplied subclass.attSpecials, canonical, characterReferenceGenerator, declarationIsWritten, delimiter, elementCode, elementStack, indentForNextAttribute, openStartTag, started, startedElement, undeclareNamespaces, unfailingallCharactersEncodable, characterSet, outputProperties, outputStream, streamResult, writerpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
MessageEmitter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
End of the document.
|
void |
endDocument()
Notify the end of a document node
|
void |
processingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
Handle a processing instruction.
|
void |
setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
Set the pipeline configuration
|
protected boolean |
suppressProcessingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
Method to decide whether a processing instruction in the message should be suppressed.
|
attribute, characters, closeStartTag, comment, convertToAscii, emptyElementTagCloser, endElement, getAttributeIndentString, isStarted, namespace, open, openDocument, setCharacterReferenceGenerator, setEscapeNonAscii, setIndentForNextAttribute, startContent, startDocument, startElement, testCharacters, usesTypeAnnotations, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeDocTypeWithNullSystemId, writeEscapeappend, getOutputProperties, getOutputStream, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setStreamResult, setUnparsedEntity, setWriter, usesWriterappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, getPipelineConfiguration, handlesAppend, setSystemIdpublic void setPipelineConfiguration(PipelineConfiguration pipelineConfiguration)
ReceiversetPipelineConfiguration in interface ReceiversetPipelineConfiguration in class SequenceReceiverpipelineConfiguration - the pipeline configurationpublic void processingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
throws XPathException
XMLEmitterprocessingInstruction in interface ReceiverprocessingInstruction in class XMLEmittertarget - The PI name. This must be a legal name (it will not be checked).data - The data portion of the processing instructionlocationId - provides information such as line number and system ID.properties - Additional information about the PI.XPathException - if an error occursprotected boolean suppressProcessingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
target - the processing instruction target (that is, name)data - the data part of the processing instructionlocationId - the location, which in the case of the error-code processing instruction, holds
the location of the originating xsl:message instructionproperties - currently 0.public void endDocument()
throws XPathException
XMLEmitterendDocument in interface ReceiverendDocument in class XMLEmitterXPathException - if an error occurspublic void close()
throws XPathException
XMLEmitterclose in interface Receiverclose in class XMLEmitterXPathException - if an error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.