cdqa.dom

Class JAXPDOMFactory

Implemented Interfaces:
DOMFactory

public final class JAXPDOMFactory
extends java.lang.Object
implements DOMFactory

implementation of the DOMFactory interface, using JAXP DOM implementation and parser

Method Summary

Document
createDocument()
create a new document
Document
parse(String fileName)
parse a document

Method Details

createDocument

public Document createDocument()
create a new document
Specified by:
createDocument in interface DOMFactory

parse

public Document parse(String fileName)
            throws Exception
parse a document
Specified by:
parse in interface DOMFactory