org.apache.excalibur.xml.dom
Interface DOMParser

All Known Implementing Classes:
JaxpParser, XercesParser

public interface DOMParser

The parser can be used to parse any XML document given by a InputSource object. It can create a DOM from the parsed document.

Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:31 $
Author:
Avalon Development Team

Field Summary
static String ROLE
           
 
Method Summary
 Document createDocument()
          Return a new Document.
 Document parseDocument(InputSource in)
          Parse the InputSource and create a DOM out of it.
 

Field Detail

ROLE

public static final String ROLE
Method Detail

parseDocument

public Document parseDocument(InputSource in)
                       throws SAXException,
                              IOException
Parse the InputSource and create a DOM out of it.

SAXException
IOException

createDocument

public Document createDocument()
                        throws SAXException
Return a new Document.

SAXException


Copyright © 1997-2004 The Apache Software Foundation. All Rights Reserved.