PageRenderTime 58ms CodeModel.GetById 18ms app.highlight 33ms RepoModel.GetById 1ms app.codeStats 0ms

/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/javadoc/com/thoughtworks/xstream/io/path/Path.html

http://prototipomemoria.googlecode.com/
HTML | 433 lines | 359 code | 52 blank | 22 comment | 0 complexity | ca1421f11c02f972cb64bc9e9d0ccc83 MD5 | raw file
  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.6.0_26) on Thu Aug 11 04:40:24 CEST 2011 -->
  6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7<TITLE>
  8Path (XStream Core 1.4.1 API)
  9</TITLE>
 10
 11<META NAME="date" CONTENT="2011-08-11">
 12
 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 14
 15<SCRIPT type="text/javascript">
 16function windowTitle()
 17{
 18    if (location.href.indexOf('is-external=true') == -1) {
 19        parent.document.title="Path (XStream Core 1.4.1 API)";
 20    }
 21}
 22</SCRIPT>
 23<NOSCRIPT>
 24</NOSCRIPT>
 25
 26</HEAD>
 27
 28<BODY BGCOLOR="white" onload="windowTitle();">
 29<HR>
 30
 31
 32<!-- ========= START OF TOP NAVBAR ======= -->
 33<A NAME="navbar_top"><!-- --></A>
 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 36<TR>
 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 38<A NAME="navbar_top_firstrow"><!-- --></A>
 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 40  <TR ALIGN="center" VALIGN="top">
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Path.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 49  </TR>
 50</TABLE>
 51</TD>
 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 53</EM>
 54</TD>
 55</TR>
 56
 57<TR>
 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 59&nbsp;PREV CLASS&nbsp;
 60&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/path/PathTracker.html" title="class in com.thoughtworks.xstream.io.path"><B>NEXT CLASS</B></A></FONT></TD>
 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 62  <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/path/Path.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 63&nbsp;<A HREF="Path.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 64&nbsp;<SCRIPT type="text/javascript">
 65  <!--
 66  if(window==top) {
 67    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 68  }
 69  //-->
 70</SCRIPT>
 71<NOSCRIPT>
 72  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 73</NOSCRIPT>
 74
 75
 76</FONT></TD>
 77</TR>
 78<TR>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 83</TR>
 84</TABLE>
 85<A NAME="skip-navbar_top"></A>
 86<!-- ========= END OF TOP NAVBAR ========= -->
 87
 88<HR>
 89<!-- ======== START OF CLASS DATA ======== -->
 90<H2>
 91<FONT SIZE="-1">
 92com.thoughtworks.xstream.io.path</FONT>
 93<BR>
 94Class Path</H2>
 95<PRE>
 96<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
 97  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.io.path.Path</B>
 98</PRE>
 99<HR>
100<DL>
101<DT><PRE>public class <B>Path</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
102</PRE>
103
104<P>
105Represents a path to a single node in the tree.
106
107 <p>Two absolute paths can also be compared to calculate the relative path between them.
108 A relative path can be applied to an absolute path to calculate another absolute path.</p>
109 
110 <p>Note that the paths are normally XPath compliant, so can be read by other XPath engines.
111 However, <A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#toString()"><CODE>toString()</CODE></A> will select a node list while <A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#explicit()"><CODE>explicit()</CODE></A> will always select 
112 an individual node. If the return type of the XPath evaluation is a node, the result will be the same,
113 because XPath will then use the first element of the list. The following are examples of path 
114 expressions that the Path object supports:</p>
115
116 <p>Note that the implementation does not take care if the paths are XPath compliant, it simply
117 manages the values between the path separator. However, it normalizes the path if a path element
118 ends with a selector for the first element (i.e. "[1]"). Those will be handled transparent i.e. two Paths
119 are treated equal if one was created with path elements containing this selector and the other one 
120 without.</p>
121 
122 <p>The following are examples of path expressions that the Path object supports:</p>
123 <ul>
124     <li>/</li>
125     <li>/some/node</li>
126     <li>/a/b/c/b/a</li>
127     <li>/a/b[1]/c[1]/b[1]/a[1]</li>
128     <li>/some[3]/node[2]/a</li>
129     <li>../../../another[3]/node</li>
130 </ul>
131
132 <h3>Example<h3>
133
134 <pre>
135 Path a = new Path("/html/body/div[1]/table[2]/tr[3]/td/div");
136 Path b = new Path("/html/body/div/table[2]/tr[6]/td/form");
137
138 Path relativePath = a.relativeTo(b); // produces: "../../../tr[6]/td/form"
139 Path c = a.apply(relativePath); // same as Path b.
140 </pre>
141<P>
142
143<P>
144<DL>
145<DT><B>Author:</B></DT>
146  <DD>Joe Walnes</DD>
147<DT><B>See Also:</B><DD><A HREF="../../../../../com/thoughtworks/xstream/io/path/PathTracker.html" title="class in com.thoughtworks.xstream.io.path"><CODE>PathTracker</CODE></A></DL>
148<HR>
149
150<P>
151
152<!-- ======== CONSTRUCTOR SUMMARY ======== -->
153
154<A NAME="constructor_summary"><!-- --></A>
155<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
157<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
158<B>Constructor Summary</B></FONT></TH>
159</TR>
160<TR BGCOLOR="white" CLASS="TableRowColor">
161<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#Path(java.lang.String)">Path</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pathAsString)</CODE>
162
163<BR>
164&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#Path(java.lang.String[])">Path</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;chunks)</CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
171</TR>
172</TABLE>
173&nbsp;
174<!-- ========== METHOD SUMMARY =========== -->
175
176<A NAME="method_summary"><!-- --></A>
177<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
178<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
179<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
180<B>Method Summary</B></FONT></TH>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A></CODE></FONT></TD>
185<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#apply(com.thoughtworks.xstream.io.path.Path)">apply</A></B>(<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A>&nbsp;relativePath)</CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192<CODE>&nbsp;boolean</CODE></FONT></TD>
193<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;o)</CODE>
194
195<BR>
196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
201<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#explicit()">explicit</A></B>()</CODE>
202
203<BR>
204&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>&nbsp;int</CODE></FONT></TD>
209<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#hashCode()">hashCode</A></B>()</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>&nbsp;boolean</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#isAncestor(com.thoughtworks.xstream.io.path.Path)">isAncestor</A></B>(<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A>&nbsp;child)</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A></CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#relativeTo(com.thoughtworks.xstream.io.path.Path)">relativeTo</A></B>(<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A>&nbsp;that)</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
229</TR>
230<TR BGCOLOR="white" CLASS="TableRowColor">
231<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
233<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html#toString()">toString</A></B>()</CODE>
234
235<BR>
236&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
237</TR>
238</TABLE>
239&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
240<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
241<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
242<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
246</TR>
247</TABLE>
248&nbsp;
249<P>
250
251<!-- ========= CONSTRUCTOR DETAIL ======== -->
252
253<A NAME="constructor_detail"><!-- --></A>
254<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
257<B>Constructor Detail</B></FONT></TH>
258</TR>
259</TABLE>
260
261<A NAME="Path(java.lang.String)"><!-- --></A><H3>
262Path</H3>
263<PRE>
264public <B>Path</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pathAsString)</PRE>
265<DL>
266</DL>
267<HR>
268
269<A NAME="Path(java.lang.String[])"><!-- --></A><H3>
270Path</H3>
271<PRE>
272public <B>Path</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;chunks)</PRE>
273<DL>
274</DL>
275
276<!-- ============ METHOD DETAIL ========== -->
277
278<A NAME="method_detail"><!-- --></A>
279<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
280<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
281<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
282<B>Method Detail</B></FONT></TH>
283</TR>
284</TABLE>
285
286<A NAME="toString()"><!-- --></A><H3>
287toString</H3>
288<PRE>
289public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
290<DL>
291<DD><DL>
292<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
293</DD>
294<DD><DL>
295</DL>
296</DD>
297</DL>
298<HR>
299
300<A NAME="explicit()"><!-- --></A><H3>
301explicit</H3>
302<PRE>
303public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>explicit</B>()</PRE>
304<DL>
305<DD><DL>
306</DL>
307</DD>
308</DL>
309<HR>
310
311<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
312equals</H3>
313<PRE>
314public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;o)</PRE>
315<DL>
316<DD><DL>
317<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
318</DD>
319<DD><DL>
320</DL>
321</DD>
322</DL>
323<HR>
324
325<A NAME="hashCode()"><!-- --></A><H3>
326hashCode</H3>
327<PRE>
328public int <B>hashCode</B>()</PRE>
329<DL>
330<DD><DL>
331<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
332</DD>
333<DD><DL>
334</DL>
335</DD>
336</DL>
337<HR>
338
339<A NAME="relativeTo(com.thoughtworks.xstream.io.path.Path)"><!-- --></A><H3>
340relativeTo</H3>
341<PRE>
342public <A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A> <B>relativeTo</B>(<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A>&nbsp;that)</PRE>
343<DL>
344<DD><DL>
345</DL>
346</DD>
347</DL>
348<HR>
349
350<A NAME="apply(com.thoughtworks.xstream.io.path.Path)"><!-- --></A><H3>
351apply</H3>
352<PRE>
353public <A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A> <B>apply</B>(<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A>&nbsp;relativePath)</PRE>
354<DL>
355<DD><DL>
356</DL>
357</DD>
358</DL>
359<HR>
360
361<A NAME="isAncestor(com.thoughtworks.xstream.io.path.Path)"><!-- --></A><H3>
362isAncestor</H3>
363<PRE>
364public boolean <B>isAncestor</B>(<A HREF="../../../../../com/thoughtworks/xstream/io/path/Path.html" title="class in com.thoughtworks.xstream.io.path">Path</A>&nbsp;child)</PRE>
365<DL>
366<DD><DL>
367</DL>
368</DD>
369</DL>
370<!-- ========= END OF CLASS DATA ========= -->
371<HR>
372
373
374<!-- ======= START OF BOTTOM NAVBAR ====== -->
375<A NAME="navbar_bottom"><!-- --></A>
376<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
377<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
378<TR>
379<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
380<A NAME="navbar_bottom_firstrow"><!-- --></A>
381<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
382  <TR ALIGN="center" VALIGN="top">
383  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
384  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
385  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
386  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Path.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
387  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
388  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
389  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
390  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
391  </TR>
392</TABLE>
393</TD>
394<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
395</EM>
396</TD>
397</TR>
398
399<TR>
400<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
401&nbsp;PREV CLASS&nbsp;
402&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/path/PathTracker.html" title="class in com.thoughtworks.xstream.io.path"><B>NEXT CLASS</B></A></FONT></TD>
403<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
404  <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/path/Path.html" target="_top"><B>FRAMES</B></A>  &nbsp;
405&nbsp;<A HREF="Path.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
406&nbsp;<SCRIPT type="text/javascript">
407  <!--
408  if(window==top) {
409    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
410  }
411  //-->
412</SCRIPT>
413<NOSCRIPT>
414  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
415</NOSCRIPT>
416
417
418</FONT></TD>
419</TR>
420<TR>
421<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
422  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
423<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
424DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
425</TR>
426</TABLE>
427<A NAME="skip-navbar_bottom"></A>
428<!-- ======== END OF BOTTOM NAVBAR ======= -->
429
430<HR>
431Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
432</BODY>
433</HTML>