org.apache.cocoon.core.xml.avalon
Class DefaultDOMParser

java.lang.Object
  extended byorg.apache.cocoon.core.xml.avalon.DefaultDOMParser
All Implemented Interfaces:
DOMParser

public class DefaultDOMParser
extends Object
implements DOMParser

A wrapper implementation to support the Excalibur XML interfaces.

Since:
2.2
Version:
$Id: DefaultDOMParser.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  org.apache.cocoon.core.xml.DOMParser parser
           
 
Fields inherited from interface org.apache.excalibur.xml.dom.DOMParser
ROLE
 
Constructor Summary
DefaultDOMParser()
           
 
Method Summary
 Document createDocument()
           
 Document parseDocument(InputSource arg0)
           
 void setParser(org.apache.cocoon.core.xml.DOMParser parser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

protected org.apache.cocoon.core.xml.DOMParser parser
Constructor Detail

DefaultDOMParser

public DefaultDOMParser()
Method Detail

setParser

public void setParser(org.apache.cocoon.core.xml.DOMParser parser)

createDocument

public Document createDocument()
                        throws SAXException
Specified by:
createDocument in interface DOMParser
Throws:
SAXException
See Also:
DOMParser.createDocument()

parseDocument

public Document parseDocument(InputSource arg0)
                       throws SAXException,
                              IOException
Specified by:
parseDocument in interface DOMParser
Throws:
SAXException
IOException
See Also:
DOMParser.parseDocument(org.xml.sax.InputSource)


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.