This project has retired. For details please refer to its Attic page.
DOMParser (Cocoon XML API 1.0.0 API)

org.apache.cocoon.core.xml
Interface DOMParser


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.

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

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

Method Detail

parseDocument

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

Throws:
SAXException
IOException

createDocument

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

Throws:
SAXException


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