|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.event.Emitter
net.sf.saxon.event.XMLEmitter
net.sf.saxon.event.MessageWarner
public class MessageWarner
MessageWarner is a user-selectable receiver for XSLT xsl:message output. It causes xsl:message output to be notified to the warning() method of the JAXP ErrorListener, or to the error() method if terminate="yes" is specified. This behaviour is specified in recent versions of the JAXP interface specifications, but it is not the default behaviour, for backwards compatibility reasons.
The text of the message that is sent to the ErrorListener is an XML serialization of the actual message content.
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.event.XMLEmitter |
|---|
declarationIsWritten, elementCode, elementStack, empty, openStartTag, preferHex, undeclareNamespaces |
| Fields inherited from class net.sf.saxon.event.Emitter |
|---|
allCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writer |
| Constructor Summary | |
|---|---|
MessageWarner()
|
|
| Method Summary | |
|---|---|
void |
endDocument()
Notify the end of a document node |
void |
startDocument(int properties)
Start of a document node. |
| Methods inherited from class net.sf.saxon.event.XMLEmitter |
|---|
attribute, characters, close, closeStartTag, comment, emptyElementTagCloser, endElement, getCachedName, namespace, open, openDocument, outputCharacterReference, processingInstruction, putCachedName, startContent, startElement, testCharacters, writeAttribute, writeCharSequence, writeDeclaration, writeDocType, writeEscape |
| Methods inherited from class net.sf.saxon.event.Emitter |
|---|
getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter, usesWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageWarner()
| Method Detail |
|---|
public void startDocument(int properties)
throws XPathException
XMLEmitter
startDocument in interface ReceiverstartDocument in class XMLEmitterproperties - bit-significant integer indicating properties of the document node.
The definitions of the bits are in class ReceiverOptions
XPathException
public void endDocument()
throws XPathException
XMLEmitter
endDocument in interface ReceiverendDocument in class XMLEmitterXPathException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||