com.caucho.xml
Interface XMLWriter

All Known Implementing Classes:
DOMBuilder, SAXBuilder, TemplatesHandlerImpl, TransformerHandlerImpl, XmlPrinter

public interface XMLWriter

Interface for printing XML documents.


Method Summary
 void attribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, java.lang.String value)
           
 void cdata(char[] buffer, int offset, int length)
           
 void cdata(java.lang.String text)
           
 void comment(java.lang.String value)
           
 void endDocument()
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 void endPrefixMapping(java.lang.String prefix)
           
 boolean getEscapeText()
           
 void processingInstruction(java.lang.String name, java.lang.String value)
           
 void setDocumentLocator(org.xml.sax.Locator locator)
           
 void setEscapeText(boolean isEscaped)
           
 void startDocument()
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 void startPrefixMapping(java.lang.String prefix, java.lang.String uri)
           
 void text(char[] buffer, int offset, int length)
           
 void text(java.lang.String text)
           
 

Method Detail

setDocumentLocator

void setDocumentLocator(org.xml.sax.Locator locator)

startDocument

void startDocument()
                   throws java.io.IOException,
                          org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

endDocument

void endDocument()
                 throws java.io.IOException,
                        org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

startPrefixMapping

void startPrefixMapping(java.lang.String prefix,
                        java.lang.String uri)
                        throws java.io.IOException,
                               org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

endPrefixMapping

void endPrefixMapping(java.lang.String prefix)
                      throws java.io.IOException,
                             org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

startElement

void startElement(java.lang.String namespaceURI,
                  java.lang.String localName,
                  java.lang.String qName)
                  throws java.io.IOException,
                         org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

attribute

void attribute(java.lang.String namespaceURI,
               java.lang.String localName,
               java.lang.String qName,
               java.lang.String value)
               throws java.io.IOException,
                      org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

endElement

void endElement(java.lang.String namespaceURI,
                java.lang.String localName,
                java.lang.String qName)
                throws java.io.IOException,
                       org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

text

void text(java.lang.String text)
          throws java.io.IOException,
                 org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

text

void text(char[] buffer,
          int offset,
          int length)
          throws java.io.IOException,
                 org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

cdata

void cdata(java.lang.String text)
           throws java.io.IOException,
                  org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

cdata

void cdata(char[] buffer,
           int offset,
           int length)
           throws java.io.IOException,
                  org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

getEscapeText

boolean getEscapeText()

setEscapeText

void setEscapeText(boolean isEscaped)

processingInstruction

void processingInstruction(java.lang.String name,
                           java.lang.String value)
                           throws java.io.IOException,
                                  org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

comment

void comment(java.lang.String value)
             throws java.io.IOException,
                    org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException