|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icl.saxon.output.Emitter
com.icl.saxon.output.ProxyEmitter
A ProxyEmitter is an Emitter that filters data before passing it to another underlying Emitter.
| Field Summary | |
protected Emitter |
baseEmitter
|
protected java.util.Properties |
outputProperties
|
| Fields inherited from class com.icl.saxon.output.Emitter |
locator, namePool, outputStream, systemId, writer |
| Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
ProxyEmitter()
|
|
| Method Summary | |
void |
characters(char[] chars,
int start,
int len)
Character data |
void |
comment(char[] ch,
int start,
int length)
Output a comment |
void |
endDocument()
End of document |
void |
endElement(int nameCode)
End of element |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Processing Instruction |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Set the Document Locator |
void |
setEscaping(boolean escaping)
Switch escaping on or off. |
void |
setNamePool(NamePool pool)
Set the name pool to be used for all name codes |
void |
setOutputProperties(java.util.Properties details)
Set the output details. |
void |
setUnderlyingEmitter(Emitter emitter)
Set the underlying emitter. |
void |
setUnparsedEntity(java.lang.String name,
java.lang.String uri)
Set the URI for an unparsed entity in the document. |
void |
setWriter(java.io.Writer writer)
Set the result destination |
void |
startDocument()
Start of document |
void |
startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int nscount)
Start of element |
| Methods inherited from class com.icl.saxon.output.Emitter |
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Emitter baseEmitter
protected java.util.Properties outputProperties
| Constructor Detail |
public ProxyEmitter()
| Method Detail |
public void setUnderlyingEmitter(Emitter emitter)
public void setNamePool(NamePool pool)
setNamePool in class Emitterpublic void setWriter(java.io.Writer writer)
setWriter in class Emitter
public void startDocument()
throws TransformerException
startDocument in class EmitterTransformerException
public void endDocument()
throws TransformerException
endDocument in class EmitterTransformerException
public void startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException
startElement in class Emitternamespaces - Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount - Number of significant entries within namespaces array
TransformerException
public void endElement(int nameCode)
throws TransformerException
endElement in class EmitterTransformerException
public void characters(char[] chars,
int start,
int len)
throws TransformerException
characters in class EmitterTransformerException
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws TransformerException
processingInstruction in class EmitterTransformerException
public void comment(char[] ch,
int start,
int length)
throws TransformerException
comment in class EmitterTransformerException
public void setEscaping(boolean escaping)
throws TransformerException
setEscaping in class EmitterTransformerExceptionpublic void setOutputProperties(java.util.Properties details)
setOutputProperties in class Emitter
public void setUnparsedEntity(java.lang.String name,
java.lang.String uri)
throws TransformerException
setUnparsedEntity in class EmitterTransformerExceptionpublic void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in class Emitter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||