|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--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 CharacterSet |
characterSet
|
protected NamePool |
namePool
|
protected OutputDetails |
outputDetails
|
protected java.io.Writer |
writer
|
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 |
setCharacterSet(CharacterSet charset)
Set the CharacterSet to be used. |
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 |
setOutputDetails(OutputDetails 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 Writer to be used. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Emitter baseEmitter
protected java.io.Writer writer
protected CharacterSet characterSet
protected OutputDetails outputDetails
protected NamePool namePool
Constructor Detail |
public ProxyEmitter()
Method Detail |
public void setUnderlyingEmitter(Emitter emitter)
public void setNamePool(NamePool pool)
setNamePool
in interface Emitter
public void setWriter(java.io.Writer writer) throws org.xml.sax.SAXException
setWriter
in interface Emitter
public void setCharacterSet(CharacterSet charset) throws org.xml.sax.SAXException
setCharacterSet
in interface Emitter
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface Emitter
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface Emitter
public void startElement(int nameCode, org.xml.sax.Attributes attributes, int[] namespaces, int nscount) throws org.xml.sax.SAXException
startElement
in interface Emitter
com.icl.saxon.output.Emitter
namespaces
- Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount
- Number of significant entries within namespaces arraypublic void endElement(int nameCode) throws org.xml.sax.SAXException
endElement
in interface Emitter
public void characters(char[] chars, int start, int len) throws org.xml.sax.SAXException
characters
in interface Emitter
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface Emitter
public void comment(char[] ch, int start, int length) throws org.xml.sax.SAXException
comment
in interface Emitter
public void setEscaping(boolean escaping) throws org.xml.sax.SAXException
setEscaping
in interface Emitter
public void setOutputDetails(OutputDetails details) throws org.xml.sax.SAXException
setOutputDetails
in interface Emitter
com.icl.saxon.output.Emitter
details
- The details of the required outputpublic void setUnparsedEntity(java.lang.String name, java.lang.String uri) throws org.xml.sax.SAXException
setUnparsedEntity
in interface Emitter
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface Emitter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |