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
Method Summary |
org.w3c.dom.Document |
createDocument()
Return a new Document . |
org.w3c.dom.Document |
parseDocument(org.xml.sax.InputSource in)
Parse the InputSource and create
a DOM out of it. |
ROLE
static final String ROLE
parseDocument
org.w3c.dom.Document parseDocument(org.xml.sax.InputSource in)
throws org.xml.sax.SAXException,
IOException
- Parse the
InputSource
and create
a DOM out of it.
- Throws:
org.xml.sax.SAXException
IOException
createDocument
org.w3c.dom.Document createDocument()
throws org.xml.sax.SAXException
- Return a new
Document
.
- Throws:
org.xml.sax.SAXException
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.