|
|||||||||||
| 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.ProxyEmitter
|
+--com.icl.saxon.output.UncommittedEmitter
This class generates XML or HTML output depending on whether the first tag output is ""
| Field Summary | |
|---|---|
(package private) boolean |
committed
|
(package private) boolean |
initialEscaping
|
(package private) boolean |
initialNewline
|
(package private) java.lang.StringBuffer |
pendingCharacters
|
| Fields inherited from class com.icl.saxon.output.ProxyEmitter |
|---|
baseEmitter, 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 | |
|---|---|
UncommittedEmitter()
|
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Produce character output using the current Writer. |
void |
comment(char[] ch,
int start,
int length)
Output a comment |
void |
endDocument()
End of document |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Processing Instruction |
void |
setEscaping(boolean escaping)
Switch escaping on or off. |
void |
startDocument()
Start of document |
void |
startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
Output an element start tag. |
| Methods inherited from class com.icl.saxon.output.ProxyEmitter |
|---|
endElement, setDocumentLocator, setNamePool, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter |
| 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 |
boolean committed
boolean initialNewline
boolean initialEscaping
java.lang.StringBuffer pendingCharacters
| Constructor Detail |
public UncommittedEmitter()
| Method Detail |
public void startDocument()
throws TransformerException
ProxyEmitter
startDocument in class ProxyEmitterTransformerException
public void endDocument()
throws TransformerException
endDocument in class ProxyEmitterTransformerException
public void characters(char[] ch,
int start,
int length)
throws TransformerException
characters in class ProxyEmitterTransformerException
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws TransformerException
processingInstruction in class ProxyEmitterTransformerException
public void comment(char[] ch,
int start,
int length)
throws TransformerException
comment in class ProxyEmitterTransformerException
public void startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException
startElement in class ProxyEmitternamespaces - Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount - Number of significant entries within namespaces array
TransformerException
public void setEscaping(boolean escaping)
throws TransformerException
setEscaping in class ProxyEmitterTransformerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||