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
ROLE
public static final String ROLE
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.