1 |
14
|
jones
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
2 |
|
|
<!--NewPage-->
|
3 |
|
|
<html>
|
4 |
|
|
<head>
|
5 |
|
|
<!-- Generated by javadoc on Fri Sep 24 03:23:03 CEST 1999 -->
|
6 |
|
|
<title>
|
7 |
|
|
Interface de.tudarmstadt.ito.domutils.NameQualifier
|
8 |
|
|
</title>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<a name="_top_"></a>
|
12 |
|
|
<pre>
|
13 |
|
|
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-de.tudarmstadt.ito.domutils.html">This Package</a> <a href="de.tudarmstadt.ito.domutils.DocumentFactory.html#_top_">Previous</a> <a href="Package-de.tudarmstadt.ito.domutils.html">Next</a> <a href="AllNames.html">Index</a></pre>
|
14 |
|
|
<hr>
|
15 |
|
|
<h1>
|
16 |
|
|
Interface de.tudarmstadt.ito.domutils.NameQualifier
|
17 |
|
|
</h1>
|
18 |
|
|
<dl>
|
19 |
|
|
<dt> public interface <b>NameQualifier</b>
|
20 |
|
|
</dl>
|
21 |
|
|
Interface encapsulating namespace-qualified names of DOM Nodes.
|
22 |
|
|
<P>Because the DOM does not yet define how it interacts with namespaces,
|
23 |
|
|
this interface encapsulates namespace behavior.</P>
|
24 |
|
|
<P>The 'local name' of a node is its unprefixed name. The 'qualified name'
|
25 |
|
|
of a node is the namespace URI plus a caret (^) plus the local name; if
|
26 |
|
|
there is no namespace URI, the qualified name is the same as the local name.
|
27 |
|
|
For example:</P>
|
28 |
|
|
<PRE>
|
29 |
|
|
<foo:element1 xmlns="http://foo">
|
30 |
|
|
Local name: "element1"
|
31 |
|
|
Qualified name: "http://foo^element1"<BR />
|
32 |
|
|
<element2>
|
33 |
|
|
Local name: "element2"
|
34 |
|
|
Qualified name: "element2"
|
35 |
|
|
</PRE>
|
36 |
|
|
<p>
|
37 |
|
|
<hr>
|
38 |
|
|
<a name="index"></a>
|
39 |
|
|
<h2>
|
40 |
|
|
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
|
41 |
|
|
</h2>
|
42 |
|
|
<dl>
|
43 |
|
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
44 |
|
|
<a href="#getLocalName(org.w3c.dom.Node)"><b>getLocalName</b></a>(Node)
|
45 |
|
|
<dd> Get the local name of a DOM Node.
|
46 |
|
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
47 |
|
|
<a href="#getNamespaceURI(org.w3c.dom.Node)"><b>getNamespaceURI</b></a>(Node)
|
48 |
|
|
<dd> Get the namespace URI used by a DOM Node.
|
49 |
|
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
50 |
|
|
<a href="#getQualifiedName(org.w3c.dom.Node)"><b>getQualifiedName</b></a>(Node)
|
51 |
|
|
<dd> Get the URI-qualified name of a DOM Node.
|
52 |
|
|
</dl>
|
53 |
|
|
<a name="methods"></a>
|
54 |
|
|
<h2>
|
55 |
|
|
<img src="images/methods.gif" width=151 height=38 alt="Methods">
|
56 |
|
|
</h2>
|
57 |
|
|
<a name="getQualifiedName(org.w3c.dom.Node)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
58 |
|
|
<a name="getQualifiedName"><b>getQualifiedName</b></a>
|
59 |
|
|
<pre>
|
60 |
|
|
public abstract String getQualifiedName(Node node)
|
61 |
|
|
</pre>
|
62 |
|
|
<dl>
|
63 |
|
|
<dd> Get the URI-qualified name of a DOM Node.
|
64 |
|
|
<p>
|
65 |
|
|
<dd><dl>
|
66 |
|
|
<dt> <b>Parameters:</b>
|
67 |
|
|
<dd> node - The Node for which to get the name.
|
68 |
|
|
<dt> <b>Returns:</b>
|
69 |
|
|
<dd> The qualified name.
|
70 |
|
|
</dl></dd>
|
71 |
|
|
</dl>
|
72 |
|
|
<a name="getLocalName(org.w3c.dom.Node)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
73 |
|
|
<a name="getLocalName"><b>getLocalName</b></a>
|
74 |
|
|
<pre>
|
75 |
|
|
public abstract String getLocalName(Node node)
|
76 |
|
|
</pre>
|
77 |
|
|
<dl>
|
78 |
|
|
<dd> Get the local name of a DOM Node.
|
79 |
|
|
<p>
|
80 |
|
|
<dd><dl>
|
81 |
|
|
<dt> <b>Parameters:</b>
|
82 |
|
|
<dd> node - The Node for which to get the name.
|
83 |
|
|
<dt> <b>Returns:</b>
|
84 |
|
|
<dd> The local name.
|
85 |
|
|
</dl></dd>
|
86 |
|
|
</dl>
|
87 |
|
|
<a name="getNamespaceURI(org.w3c.dom.Node)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
88 |
|
|
<a name="getNamespaceURI"><b>getNamespaceURI</b></a>
|
89 |
|
|
<pre>
|
90 |
|
|
public abstract String getNamespaceURI(Node node)
|
91 |
|
|
</pre>
|
92 |
|
|
<dl>
|
93 |
|
|
<dd> Get the namespace URI used by a DOM Node.
|
94 |
|
|
<p>
|
95 |
|
|
<dd><dl>
|
96 |
|
|
<dt> <b>Parameters:</b>
|
97 |
|
|
<dd> node - The Node for which to get the URI.
|
98 |
|
|
<dt> <b>Returns:</b>
|
99 |
|
|
<dd> The namespace URI.
|
100 |
|
|
</dl></dd>
|
101 |
|
|
</dl>
|
102 |
|
|
<hr>
|
103 |
|
|
<pre>
|
104 |
|
|
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-de.tudarmstadt.ito.domutils.html">This Package</a> <a href="de.tudarmstadt.ito.domutils.DocumentFactory.html#_top_">Previous</a> <a href="Package-de.tudarmstadt.ito.domutils.html">Next</a> <a href="AllNames.html">Index</a></pre>
|
105 |
|
|
</body>
|
106 |
|
|
</html>
|