com.icl.saxon.output
Class  UncommittedEmitter
java.lang.Object
  |
  +--com.icl.saxon.output.ProxyEmitter
        |
        +--com.icl.saxon.output.UncommittedEmitter
- All Implemented Interfaces: 
- Emitter
- public class UncommittedEmitter- extends ProxyEmitter
This class generates XML or HTML output depending on whether the first tag output is ""
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UncommittedEmitter
public UncommittedEmitter()
startDocument
public void startDocument()
                   throws org.xml.sax.SAXException
- Description copied from class: ProxyEmitter
- Start of document- 
- Overrides:
- startDocumentin class- ProxyEmitter
 
endDocument
public void endDocument()
                 throws org.xml.sax.SAXException
- End of document- 
- Overrides:
- endDocumentin class- ProxyEmitter
 
startPrefixMapping
public void startPrefixMapping(java.lang.String prefix,
                               java.lang.String uri)
                        throws org.xml.sax.SAXException
- Start a namespace prefix mapping. All prefixes used in element or attribute names
 will be notified before the relevant startElement call- 
- Overrides:
- startPrefixMappingin class- ProxyEmitter
 
characters
public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
- Produce character output using the current Writer. 
 
- 
- Overrides:
- charactersin class- ProxyEmitter
 
processingInstruction
public void processingInstruction(java.lang.String target,
                                  java.lang.String data)
                           throws org.xml.sax.SAXException
- Processing Instruction- 
- Overrides:
- processingInstructionin class- ProxyEmitter
 
comment
public void comment(char[] ch,
                    int start,
                    int length)
             throws org.xml.sax.SAXException
- Output a comment- 
- Overrides:
- commentin class- ProxyEmitter
 
startElement
public void startElement(Name fullname,
                         AttributeCollection attributes)
                  throws org.xml.sax.SAXException
- Output an element start tag. 
 This can only be called once: it switches to a substitute output generator for XML or HTML,
 depending on whether the tag is "HTML".
- 
- Overrides:
- startElementin class- ProxyEmitter
 
- 
- Parameters:
- name- The element name (tag)
 
setEscaping
public void setEscaping(boolean escaping)
                 throws org.xml.sax.SAXException
- Switch escaping on or off. This is called when the XSLT disable-output-escaping attribute
 is used to switch escaping on or off. It is not called for other sections of output (e.g.
 element names) where escaping is inappropriate.- 
- Overrides:
- setEscapingin class- ProxyEmitter