File: com.jclark.xml.parse.DocumentParser.html

package info (click to toggle)
lib-xp-java 0.5-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,652 kB
  • ctags: 2,424
  • sloc: java: 8,085; makefile: 53; sh: 17; xml: 7
file content (95 lines) | stat: -rw-r--r-- 3,969 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat Jan 02 02:58:02 GMT 1999 -->
<title>
  Class com.jclark.xml.parse.DocumentParser
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-com.jclark.xml.parse.html">This Package</a>  <a href="Package-com.jclark.xml.parse.html">Previous</a>  <a href="com.jclark.xml.parse.EntityManagerImpl.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class com.jclark.xml.parse.DocumentParser
</h1>
<pre>
java.lang.Object
   |
   +----com.jclark.xml.parse.DocumentParser
</pre>
<hr>
<dl>
  <dt> public class <b>DocumentParser</b>
  <dt> extends Object
</dl>
A parser for XML documents.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#DocumentParser()"><b>DocumentParser</b></a>()
  <dd> 
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#parse(com.jclark.xml.parse.OpenEntity, com.jclark.xml.parse.EntityManager, com.jclark.xml.parse.base.Application, java.util.Locale)"><b>parse</b></a>(OpenEntity, EntityManager, Application, Locale)
  <dd>  Parses an XML document.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="DocumentParser"></a>
<a name="DocumentParser()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>DocumentParser</b>
<pre>
 public DocumentParser()
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="parse(com.jclark.xml.parse.OpenEntity, com.jclark.xml.parse.EntityManager, com.jclark.xml.parse.base.Application, java.util.Locale)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="parse"><b>parse</b></a>
<pre>
 public static void parse(<a href="com.jclark.xml.parse.OpenEntity.html#_top_">OpenEntity</a> entity,
                          <a href="com.jclark.xml.parse.EntityManager.html#_top_">EntityManager</a> entityManager,
                          <a href="com.jclark.xml.parse.base.Application.html#_top_">Application</a> application,
                          Locale locale) throws <a href="com.jclark.xml.parse.ApplicationException.html#_top_">ApplicationException</a>, IOException
</pre>
<dl>
  <dd> Parses an XML document.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> entity - the document entity of the XML document; the InputStream
 of the document entity will be closed after parsing
    <dd> entityManager - the EntityManager to be used to access external
 entities referenced in the document
    <dd> application - the Application which will receive information
 about the XML document
    <dd> locale - the Locale to be used for error messages
    <dt> <b>Throws:</b> <a href="com.jclark.xml.parse.NotWellFormedException.html#_top_">NotWellFormedException</a>
    <dd> if the document is not well-formed
    <dt> <b>Throws:</b> IOException
    <dd> if an IO error occurs
    <dt> <b>Throws:</b> <a href="com.jclark.xml.parse.ApplicationException.html#_top_">ApplicationException</a>
    <dd> if any of the <code>Application</code>
 methods throw an Exception
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-com.jclark.xml.parse.html">This Package</a>  <a href="Package-com.jclark.xml.parse.html">Previous</a>  <a href="com.jclark.xml.parse.EntityManagerImpl.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>