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