svn-gvsig-desktop / trunk / docs / Cresques / javadocs / org / cresques / io / CXMLParser.html @ 2256
History | View | Annotate | Download (12.5 KB)
1 | 2256 | igbrotru | <!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_03) on Thu Jun 23 14:38:26 CEST 2005 -->
|
||
6 | <TITLE>
|
||
7 | CXMLParser |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="org.cresques.io.CXMLParser class"> |
||
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="CXMLParser"; |
||
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> </TD> |
||
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
42 | </TR>
|
||
43 | </TABLE>
|
||
44 | </TD>
|
||
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
46 | </EM>
|
||
47 | </TD>
|
||
48 | </TR>
|
||
49 | |||
50 | <TR>
|
||
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
52 | <A HREF="../../../org/cresques/io/BookmarkList.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
||
53 | <A HREF="../../../org/cresques/io/DataSource.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD> |
||
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
55 | <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
||
56 | <A HREF="CXMLParser.html" target="_top"><B>NO FRAMES</B></A> |
||
57 | <SCRIPT type="text/javascript"> |
||
58 | <!--
|
||
59 | if(window==top) {
|
||
60 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
61 | }
|
||
62 | //-->
|
||
63 | </SCRIPT>
|
||
64 | <NOSCRIPT>
|
||
65 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
66 | </NOSCRIPT>
|
||
67 | |||
68 | </FONT></TD> |
||
69 | </TR>
|
||
70 | <TR>
|
||
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
72 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
75 | </TR>
|
||
76 | </TABLE>
|
||
77 | <A NAME="skip-navbar_top"></A> |
||
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
||
79 | |||
80 | <HR>
|
||
81 | <!-- ======== START OF CLASS DATA ======== -->
|
||
82 | <H2>
|
||
83 | <FONT SIZE="-1"> |
||
84 | org.cresques.io</FONT>
|
||
85 | <BR>
|
||
86 | Class CXMLParser</H2>
|
||
87 | <PRE>
|
||
88 | java.lang.Object |
||
89 | <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.CXMLParser</B> |
||
90 | </PRE>
|
||
91 | <HR>
|
||
92 | <DL>
|
||
93 | <DT>public class <B>CXMLParser</B><DT>extends java.lang.Object</DL> |
||
94 | |||
95 | <P>
|
||
96 | Parser b?sico XML para las ventanas de propiedades de los drivers de escritura. |
||
97 | <P>
|
||
98 | |||
99 | <P>
|
||
100 | <DL>
|
||
101 | <DT><B>Author:</B></DT> |
||
102 | <DD>Nacho Brodin (brodin_ign@gva.es)</DD> |
||
103 | </DL>
|
||
104 | <HR>
|
||
105 | |||
106 | <P>
|
||
107 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
108 | |||
109 | |||
110 | <!-- =========== FIELD SUMMARY =========== -->
|
||
111 | |||
112 | |||
113 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
114 | |||
115 | <A NAME="constructor_summary"><!-- --></A> |
||
116 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
117 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
118 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
119 | <B>Constructor Summary</B></FONT></TD> |
||
120 | </TR>
|
||
121 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
122 | <TD><CODE><B><A HREF="../../../org/cresques/io/CXMLParser.html#CXMLParser(java.lang.String)">CXMLParser</A></B>(java.lang.String fXML)</CODE> |
||
123 | |||
124 | <BR>
|
||
125 | Constructor</TD> |
||
126 | </TR>
|
||
127 | </TABLE>
|
||
128 |
|
||
129 | <!-- ========== METHOD SUMMARY =========== -->
|
||
130 | |||
131 | <A NAME="method_summary"><!-- --></A> |
||
132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
134 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
135 | <B>Method Summary</B></FONT></TD> |
||
136 | </TR>
|
||
137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
139 | <CODE> java.lang.String</CODE></FONT></TD> |
||
140 | <TD><CODE><B><A HREF="../../../org/cresques/io/CXMLParser.html#getAttr(java.lang.String, java.lang.String)">getAttr</A></B>(java.lang.String tag, |
||
141 | java.lang.String att)</CODE> |
||
142 | |||
143 | <BR>
|
||
144 | Obtiene un atributo de la primera aparici?n de un tag concreto</TD> |
||
145 | </TR>
|
||
146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
148 | <CODE> int</CODE></FONT></TD> |
||
149 | <TD><CODE><B><A HREF="../../../org/cresques/io/CXMLParser.html#getNumTags(java.lang.String)">getNumTags</A></B>(java.lang.String tag)</CODE> |
||
150 | |||
151 | <BR>
|
||
152 | Dado un nombre de un tag devuelve el n?mero de estos en el XML</TD> |
||
153 | </TR>
|
||
154 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
155 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
156 | <CODE> java.lang.String</CODE></FONT></TD> |
||
157 | <TD><CODE><B><A HREF="../../../org/cresques/io/CXMLParser.html#getTag()">getTag</A></B>()</CODE> |
||
158 | |||
159 | <BR>
|
||
160 | Obtiene el nombre del siguiente tag XML</TD> |
||
161 | </TR>
|
||
162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
164 | <CODE> java.lang.String</CODE></FONT></TD> |
||
165 | <TD><CODE><B><A HREF="../../../org/cresques/io/CXMLParser.html#getValue(java.lang.String, boolean)">getValue</A></B>(java.lang.String tag, |
||
166 | boolean deleteValue)</CODE> |
||
167 | |||
168 | <BR>
|
||
169 | Obtiene el valor del tag</TD> |
||
170 | </TR>
|
||
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
173 | <CODE> java.lang.String</CODE></FONT></TD> |
||
174 | <TD><CODE><B><A HREF="../../../org/cresques/io/CXMLParser.html#getXML()">getXML</A></B>()</CODE> |
||
175 | |||
176 | <BR>
|
||
177 | Obtiene texto XML</TD> |
||
178 | </TR>
|
||
179 | </TABLE>
|
||
180 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
181 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
182 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
183 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
184 | </TR>
|
||
185 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
186 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
187 | </TR>
|
||
188 | </TABLE>
|
||
189 |
|
||
190 | <P>
|
||
191 | |||
192 | <!-- ============ FIELD DETAIL =========== -->
|
||
193 | |||
194 | |||
195 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
196 | |||
197 | <A NAME="constructor_detail"><!-- --></A> |
||
198 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
199 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
200 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
201 | <B>Constructor Detail</B></FONT></TD> |
||
202 | </TR>
|
||
203 | </TABLE>
|
||
204 | |||
205 | <A NAME="CXMLParser(java.lang.String)"><!-- --></A><H3> |
||
206 | CXMLParser</H3>
|
||
207 | <PRE>
|
||
208 | public <B>CXMLParser</B>(java.lang.String fXML)</PRE> |
||
209 | <DL>
|
||
210 | <DD>Constructor
|
||
211 | <P>
|
||
212 | <DT><B>Parameters:</B><DD><CODE>fXML</CODE> - Texto en formato XML</DL> |
||
213 | |||
214 | <!-- ============ METHOD DETAIL ========== -->
|
||
215 | |||
216 | <A NAME="method_detail"><!-- --></A> |
||
217 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
218 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
219 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
220 | <B>Method Detail</B></FONT></TD> |
||
221 | </TR>
|
||
222 | </TABLE>
|
||
223 | |||
224 | <A NAME="getXML()"><!-- --></A><H3> |
||
225 | getXML</H3>
|
||
226 | <PRE>
|
||
227 | public java.lang.String <B>getXML</B>()</PRE> |
||
228 | <DL>
|
||
229 | <DD>Obtiene texto XML
|
||
230 | <P>
|
||
231 | <DD><DL> |
||
232 | |||
233 | <DT><B>Returns:</B><DD>texto XML</DL> |
||
234 | </DD>
|
||
235 | </DL>
|
||
236 | <HR>
|
||
237 | |||
238 | <A NAME="getValue(java.lang.String, boolean)"><!-- --></A><H3> |
||
239 | getValue</H3>
|
||
240 | <PRE>
|
||
241 | public java.lang.String <B>getValue</B>(java.lang.String tag, |
||
242 | boolean deleteValue)</PRE> |
||
243 | <DL>
|
||
244 | <DD>Obtiene el valor del tag
|
||
245 | <P>
|
||
246 | <DD><DL> |
||
247 | <DT><B>Parameters:</B><DD><CODE>tag</CODE> - Tag del cual se quiere obtener el valor |
||
248 | <DT><B>Returns:</B><DD>Devuelve el contenido del tag</DL> |
||
249 | </DD>
|
||
250 | </DL>
|
||
251 | <HR>
|
||
252 | |||
253 | <A NAME="getAttr(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
254 | getAttr</H3>
|
||
255 | <PRE>
|
||
256 | public java.lang.String <B>getAttr</B>(java.lang.String tag, |
||
257 | java.lang.String att)</PRE> |
||
258 | <DL>
|
||
259 | <DD>Obtiene un atributo de la primera aparici?n de un tag concreto
|
||
260 | <P>
|
||
261 | <DD><DL> |
||
262 | <DT><B>Parameters:</B><DD><CODE>tag</CODE> - Tag del cual quiere obtenerse un atributo<DD><CODE>att</CODE> - Atributo del cual se desea el valor |
||
263 | <DT><B>Returns:</B><DD></DL> |
||
264 | </DD>
|
||
265 | </DL>
|
||
266 | <HR>
|
||
267 | |||
268 | <A NAME="getTag()"><!-- --></A><H3> |
||
269 | getTag</H3>
|
||
270 | <PRE>
|
||
271 | public java.lang.String <B>getTag</B>()</PRE> |
||
272 | <DL>
|
||
273 | <DD>Obtiene el nombre del siguiente tag XML
|
||
274 | <P>
|
||
275 | <DD><DL> |
||
276 | |||
277 | <DT><B>Returns:</B><DD>Nombre del siguiente tag</DL> |
||
278 | </DD>
|
||
279 | </DL>
|
||
280 | <HR>
|
||
281 | |||
282 | <A NAME="getNumTags(java.lang.String)"><!-- --></A><H3> |
||
283 | getNumTags</H3>
|
||
284 | <PRE>
|
||
285 | public int <B>getNumTags</B>(java.lang.String tag)</PRE> |
||
286 | <DL>
|
||
287 | <DD>Dado un nombre de un tag devuelve el n?mero de estos en el XML
|
||
288 | <P>
|
||
289 | <DD><DL> |
||
290 | <DT><B>Parameters:</B><DD><CODE>tag</CODE> - Nombre del tag a contar |
||
291 | <DT><B>Returns:</B><DD>N?mero de tags coincidentes</DL> |
||
292 | </DD>
|
||
293 | </DL>
|
||
294 | <!-- ========= END OF CLASS DATA ========= -->
|
||
295 | <HR>
|
||
296 | |||
297 | |||
298 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
299 | <A NAME="navbar_bottom"><!-- --></A> |
||
300 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
301 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
302 | <TR>
|
||
303 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
304 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
305 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
306 | <TR ALIGN="center" VALIGN="top"> |
||
307 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
308 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
309 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
310 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
311 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
312 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
313 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
314 | </TR>
|
||
315 | </TABLE>
|
||
316 | </TD>
|
||
317 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
318 | </EM>
|
||
319 | </TD>
|
||
320 | </TR>
|
||
321 | |||
322 | <TR>
|
||
323 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
324 | <A HREF="../../../org/cresques/io/BookmarkList.html" title="class in org.cresques.io"><B>PREV CLASS</B></A> |
||
325 | <A HREF="../../../org/cresques/io/DataSource.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD> |
||
326 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
327 | <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
||
328 | <A HREF="CXMLParser.html" target="_top"><B>NO FRAMES</B></A> |
||
329 | <SCRIPT type="text/javascript"> |
||
330 | <!--
|
||
331 | if(window==top) {
|
||
332 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
333 | }
|
||
334 | //-->
|
||
335 | </SCRIPT>
|
||
336 | <NOSCRIPT>
|
||
337 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
338 | </NOSCRIPT>
|
||
339 | |||
340 | </FONT></TD> |
||
341 | </TR>
|
||
342 | <TR>
|
||
343 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
344 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
345 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
346 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
347 | </TR>
|
||
348 | </TABLE>
|
||
349 | <A NAME="skip-navbar_bottom"></A> |
||
350 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
351 | |||
352 | <HR>
|
||
353 | |||
354 | </BODY>
|
||
355 | </HTML> |