did.io
Interface DOMParserWrapper
- public interface DOMParserWrapper
File: DOMParserWrapper.java
Version: 1.1
Description: Encapsulates a DOM parser.
Modification Log:
Date Name Comment
xx-xx-xxxx XXX xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method Summary |
org.w3c.dom.Document |
parse(java.lang.String uri)
Method used to parse and XML document using the DOM and return a refence to the DOM root
(Document node). |
parse
public org.w3c.dom.Document parse(java.lang.String uri)
throws java.lang.Exception
- Method used to parse and XML document using the DOM and return a refence to the DOM root
(Document node).
- Parameters:
uri
- String repesenting the path to the file to be parsed.- Returns:
- A W3C Document object (root of DOM tree) built from the file passed in as a
parameter.