|
|||||||||
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
com.icl.saxon.output.UncommittedEmitter
public class 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) 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(String target,
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
StringBuffer pendingCharacters
Constructor Detail |
---|
public UncommittedEmitter()
Method Detail |
---|
public void startDocument() throws TransformerException
ProxyEmitter
startDocument
in class ProxyEmitter
TransformerException
public void endDocument() throws TransformerException
endDocument
in class ProxyEmitter
TransformerException
public void characters(char[] ch, int start, int length) throws TransformerException
characters
in class ProxyEmitter
TransformerException
public void processingInstruction(String target, String data) throws TransformerException
processingInstruction
in class ProxyEmitter
TransformerException
public void comment(char[] ch, int start, int length) throws TransformerException
comment
in class ProxyEmitter
TransformerException
public void startElement(int nameCode, Attributes attributes, int[] namespaces, int nscount) throws TransformerException
startElement
in class ProxyEmitter
name
- The element name (tag)
TransformerException
public void setEscaping(boolean escaping) throws TransformerException
setEscaping
in class ProxyEmitter
TransformerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |