01: package com.salmonllc.xml;
02:
03: /////////////////////////
04: //$Archive: /JADE/SourceCode/com/salmonllc/xml/DOMParserWrapper.java $
05: //$Author: Srufle $
06: //$Revision: 5 $
07: //$Modtime: 7/31/02 7:13p $
08: /////////////////////////
09: /*
10: * (C) Copyright IBM Corp. 1999 All rights reserved.
11: *
12: * US Government Users Restricted Rights Use, duplication or
13: * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
14: *
15: * The program is provided "as is" without any warranty express or
16: * implied, including the warranty of non-infringement and the implied
17: * warranties of merchantibility and fitness for a particular purpose.
18: * IBM will not be liable for any damages suffered by you as a result
19: * of using the Program. In no event will IBM be liable for any
20: * special, indirect or consequential damages or lost profits even if
21: * IBM has been advised of the possibility of their occurrence. IBM
22: * will not be liable for any third party claims against you.
23: */
24:
25: import org.w3c.dom.Document;
26:
27: /**
28: * Encapsulates a DOM parser.
29: *
30: * @version Revision: 09 1.1 samples/dom/DOMParserWrapper.java, samples, xml4j2, xml4j2_0_15
31: */
32: public interface DOMParserWrapper {
33:
34: //
35: // DOMParserWrapper methods
36: //
37:
38: /** Parses the specified URI and returns the document. */
39: public Document parse(String uri) throws Exception;
40: } // interface DOMParserWrapper
|