|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.icl.saxon.output.Emitter
|
+--com.icl.saxon.output.StringEmitter
This class outputs text content to a StringBuffer, and discards all other content.
| Field Summary |
|---|
| Fields inherited from class com.icl.saxon.output.Emitter |
|---|
locator, namePool, outputProperties, outputStream, systemId, writer |
| Fields inherited from interface javax.xml.transform.Result |
|---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
|---|---|
protected |
StringEmitter(java.lang.StringBuffer buffer)
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Produce output using the current Writer. |
void |
comment(char[] ch,
int start,
int length)
Output a comment. |
void |
endDocument()
End of the document. |
void |
endElement(int nameCode)
Output an element end tag. |
void |
processingInstruction(java.lang.String name,
java.lang.String value)
Output a processing instruction. |
void |
startDocument()
Start of the document. |
void |
startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
Output an element start tag. |
| Methods inherited from class com.icl.saxon.output.Emitter |
|---|
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter, usesWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected StringEmitter(java.lang.StringBuffer buffer)
| Method Detail |
public void startDocument()
throws TransformerException
startDocument in class EmitterTransformerException
public void endDocument()
throws TransformerException
endDocument in class EmitterTransformerException
public void characters(char[] ch,
int start,
int length)
throws TransformerException
characters in class Emitterch - Character array to be outputstart - start position of characters to be outputlength - number of characters to be output
TransformerException - for any failure
public void startElement(int nameCode,
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 processingInstruction(java.lang.String name,
java.lang.String value)
throws TransformerException
processingInstruction in class EmitterTransformerException
public void comment(char[] ch,
int start,
int length)
throws TransformerException
comment in class EmitterTransformerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||