|
|||||||
| 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.XQueryEmitter
public class XQueryEmitter
The XQueryEmitter is designed to serialize an XQuery that was originally embedded in an XML document. It is a variant of the XMLEmitter, and differs in that the operators <, >, <=, >=, <<, and << are output without escaping. They are recognized by virtue of the fact that they appear in text or attribute content between curly braces but not in quotes.
| 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 | |
|---|---|
XQueryEmitter()
|
|
| Method Summary | |
|---|---|
protected void |
writeEscape(java.lang.CharSequence chars,
boolean inAttribute)
Write contents of array to current writer, after escaping special characters. |
| Methods inherited from class net.sf.saxon.event.XMLEmitter |
|---|
attribute, characters, close, closeStartTag, comment, emptyElementTagCloser, endDocument, endElement, getCachedName, namespace, open, openDocument, outputCharacterReference, processingInstruction, putCachedName, startContent, startDocument, startElement, testCharacters, writeAttribute, writeCharSequence, writeDeclaration, writeDocType |
| 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 XQueryEmitter()
| Method Detail |
|---|
protected void writeEscape(java.lang.CharSequence chars,
boolean inAttribute)
throws java.io.IOException,
XPathException
writeEscape in class XMLEmitterchars - The character sequence containing the stringinAttribute - Set to true if the text is in an attribute value
java.io.IOException
XPathException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||