Debian Codegraph @

docs/apiDocs/javax/xml/soap/Name.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 -->
6 <TITLE>
7 Name (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.soap.Name interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="Name (Axis API)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Name.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 </EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;<A HREF="../../../javax/xml/soap/DetailEntry.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="Name.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 javax.xml.soap</FONT>
86 <BR>
87 Interface Name</H2>
88 <DL>
89 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/message/PrefixedQName.html" title="class in org.apache.axis.message">PrefixedQName</A></DD>
90 </DL>
91 <HR>
92 <DL>
93 <DT>public interface <B>Name</B></DL>
94
95 <P>
96 A representation of an XML name. This interface provides methods for
97 getting the local and namespace-qualified names and also for getting the
98 prefix associated with the namespace for the name. It is also possible
99 to get the URI of the namespace.
100 <P>
101 The following is an example of a namespace declaration in an element.
102 <PRE>
103 &lt;wombat:GetLastTradePrice xmlns:wombat="http://www.wombat.org/trader"&gt;
104 </PRE>
105 ("xmlns" stands for "XML namespace".)
106 The following
107 shows what the methods in the <code>Name</code> interface will return.
108 <UL>
109 <LI><code>getQualifiedName</code> will return "prefix:LocalName" =
110 "WOMBAT:GetLastTradePrice"
111 <LI><code>getURI</code> will return "http://www.wombat.org/trader"
112 <LI><code>getLocalName</code> will return "GetLastTracePrice"
113 <LI><code>getPrefix</code> will return "WOMBAT"
114 </UL>
115 <P>
116 XML namespaces are used to disambiguate SOAP identifiers from
117 application-specific identifiers.
118 <P>
119 <code>Name</code> objects are created using the method
120 <code>SOAPEnvelope.createName</code>, which has two versions.
121 One method creates <code>Name</code> objects with
122 a local name, a namespace prefix, and a namespace URI.
123 and the second creates <code>Name</code> objects with just a local name.
124 The following line of
125 code, in which <i>se</i> is a <code>SOAPEnvelope</code> object, creates a new
126 <code>Name</code> object with all three.
127 <PRE>
128 Name name = se.createName("GetLastTradePrice", "WOMBAT",
129 "http://www.wombat.org/trader");
130 </PRE>
131 The following line of code gives an example of how a <code>Name</code> object
132 can be used. The variable <i>element</i> is a <code>SOAPElement</code> object.
133 This code creates a new <code>SOAPElement</code> object with the given name and
134 adds it to <i>element</i>.
135 <PRE>
136 element.addChildElement(name);
137 </PRE>
138 <P>
139
140 <P>
141 <HR>
142
143 <P>
144 <!-- ======== NESTED CLASS SUMMARY ======== -->
145
146
147 <!-- =========== FIELD SUMMARY =========== -->
148
149
150 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
151
152
153 <!-- ========== METHOD SUMMARY =========== -->
154
155 <A NAME="method_summary"><!-- --></A>
156 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158 <TD COLSPAN=2><FONT SIZE="+2">
159 <B>Method Summary</B></FONT></TD>
160 </TR>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
164 <TD><CODE><B><A HREF="../../../javax/xml/soap/Name.html#getLocalName()">getLocalName</A></B>()</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the local name part of the XML name that this <code>Name</code>
168 object represents.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../../javax/xml/soap/Name.html#getPrefix()">getPrefix</A></B>()</CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the prefix associated with the namespace for the XML
177 name that this <code>Name</code> object represents.</TD>
178 </TR>
179 <TR BGCOLOR="white" CLASS="TableRowColor">
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
182 <TD><CODE><B><A HREF="../../../javax/xml/soap/Name.html#getQualifiedName()">getQualifiedName</A></B>()</CODE>
183
184 <BR>
185 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the namespace-qualified name of the XML name that this
186 <code>Name</code> object represents.</TD>
187 </TR>
188 <TR BGCOLOR="white" CLASS="TableRowColor">
189 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
191 <TD><CODE><B><A HREF="../../../javax/xml/soap/Name.html#getURI()">getURI</A></B>()</CODE>
192
193 <BR>
194 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the URI of the namespace for the XML
195 name that this <code>Name</code> object represents.</TD>
196 </TR>
197 </TABLE>
198 &nbsp;
199 <P>
200
201 <!-- ============ FIELD DETAIL =========== -->
202
203
204 <!-- ========= CONSTRUCTOR DETAIL ======== -->
205
206
207 <!-- ============ METHOD DETAIL ========== -->
208
209 <A NAME="method_detail"><!-- --></A>
210 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
211 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
212 <TD COLSPAN=1><FONT SIZE="+2">
213 <B>Method Detail</B></FONT></TD>
214 </TR>
215 </TABLE>
216
217 <A NAME="getLocalName()"><!-- --></A><H3>
218 getLocalName</H3>
219 <PRE>
220 public java.lang.String <B>getLocalName</B>()</PRE>
221 <DL>
222 <DD>Gets the local name part of the XML name that this <code>Name</code>
223 object represents.
224 <P>
225 <DD><DL>
226
227 <DT><B>Returns:</B><DD>a string giving the local name</DL>
228 </DD>
229 </DL>
230 <HR>
231
232 <A NAME="getQualifiedName()"><!-- --></A><H3>
233 getQualifiedName</H3>
234 <PRE>
235 public java.lang.String <B>getQualifiedName</B>()</PRE>
236 <DL>
237 <DD>Gets the namespace-qualified name of the XML name that this
238 <code>Name</code> object represents.
239 <P>
240 <DD><DL>
241
242 <DT><B>Returns:</B><DD>the namespace-qualified name as a string</DL>
243 </DD>
244 </DL>
245 <HR>
246
247 <A NAME="getPrefix()"><!-- --></A><H3>
248 getPrefix</H3>
249 <PRE>
250 public java.lang.String <B>getPrefix</B>()</PRE>
251 <DL>
252 <DD>Returns the prefix associated with the namespace for the XML
253 name that this <code>Name</code> object represents.
254 <P>
255 <DD><DL>
256
257 <DT><B>Returns:</B><DD>the prefix as a string</DL>
258 </DD>
259 </DL>
260 <HR>
261
262 <A NAME="getURI()"><!-- --></A><H3>
263 getURI</H3>
264 <PRE>
265 public java.lang.String <B>getURI</B>()</PRE>
266 <DL>
267 <DD>Returns the URI of the namespace for the XML
268 name that this <code>Name</code> object represents.
269 <P>
270 <DD><DL>
271
272 <DT><B>Returns:</B><DD>the URI as a string</DL>
273 </DD>
274 </DL>
275 <!-- ========= END OF CLASS DATA ========= -->
276 <HR>
277
278
279 <!-- ======= START OF BOTTOM NAVBAR ====== -->
280 <A NAME="navbar_bottom"><!-- --></A>
281 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
282 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
283 <TR>
284 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
285 <A NAME="navbar_bottom_firstrow"><!-- --></A>
286 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
287 <TR ALIGN="center" VALIGN="top">
288 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
289 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
290 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
291 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Name.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
292 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
293 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
294 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
295 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
296 </TR>
297 </TABLE>
298 </TD>
299 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
300 </EM>
301 </TD>
302 </TR>
303
304 <TR>
305 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
306 &nbsp;<A HREF="../../../javax/xml/soap/DetailEntry.html" title="interface in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
307 &nbsp;<A HREF="../../../javax/xml/soap/Node.html" title="interface in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
308 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
309 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
310 &nbsp;<A HREF="Name.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
311 &nbsp;<SCRIPT type="text/javascript">
312 <!--
313 if(window==top) {
314 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
315 }
316 //-->
317 </SCRIPT>
318 <NOSCRIPT>
319 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
320 </NOSCRIPT>
321
322 </FONT></TD>
323 </TR>
324 <TR>
325 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
326 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
327 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
328 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
329 </TR>
330 </TABLE>
331 <A NAME="skip-navbar_bottom"></A>
332 <!-- ======== END OF BOTTOM NAVBAR ======= -->
333
334 <HR>
335 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
336 </BODY>
337 </HTML>