org.apache.xalan.xpath.xml
Class FormatterToDOM

java.lang.Object
  |
  +--org.xml.sax.helpers.ParserAdapter
        |
        +--org.apache.xalan.xpath.xml.FormatterToDOM

public class FormatterToDOM
extends org.xml.sax.helpers.ParserAdapter

This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and adds the result to a document or document fragment.


Constructor Summary
FormatterToDOM(org.w3c.dom.Document doc)
          FormatterToDOM instance constructor...
FormatterToDOM(org.w3c.dom.Document doc, org.w3c.dom.DocumentFragment docFrag)
          FormatterToDOM instance constructor...
FormatterToDOM(org.w3c.dom.Document doc, org.w3c.dom.Element elem)
          FormatterToDOM instance constructor...
 
Method Summary
 org.apache.xalan.serialize.SerializerToXML getSerializerObject()
           
 
Methods inherited from class org.xml.sax.helpers.ParserAdapter
characters, endDocument, endElement, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, ignorableWhitespace, parse, parse, processingInstruction, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, startDocument, startElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterToDOM

public FormatterToDOM(org.w3c.dom.Document doc,
                      org.w3c.dom.Element elem)
               throws org.xml.sax.SAXException
FormatterToDOM instance constructor... it will add the DOM nodes to the document fragment.

FormatterToDOM

public FormatterToDOM(org.w3c.dom.Document doc,
                      org.w3c.dom.DocumentFragment docFrag)
               throws org.xml.sax.SAXException
FormatterToDOM instance constructor... it will add the DOM nodes to the document fragment.

FormatterToDOM

public FormatterToDOM(org.w3c.dom.Document doc)
               throws org.xml.sax.SAXException
FormatterToDOM instance constructor... it will add the DOM nodes to the document.
Method Detail

getSerializerObject

public org.apache.xalan.serialize.SerializerToXML getSerializerObject()


Copyright © 2000 Apache XML Project. All Rights Reserved.