PageRenderTime 33ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/doc/me/dcow/pearltrees/PearlTree.html

https://bitbucket.org/dwuouhsc/ou_process_pearltrees
HTML | 283 lines | 229 code | 34 blank | 20 comment | 0 complexity | 7823835c6f1610e9f1a407715c1ad865 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_32) on Fri Jul 13 09:38:23 CDT 2012 -->
  6. <TITLE>
  7. PearlTree
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-07-13">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="PearlTree";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PearlTree.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  41. </TR>
  42. </TABLE>
  43. </TD>
  44. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  45. </EM>
  46. </TD>
  47. </TR>
  48. <TR>
  49. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50. &nbsp;<A HREF="../../../me/dcow/pearltrees/PearlIterator.html" title="interface in me.dcow.pearltrees"><B>PREV CLASS</B></A>&nbsp;
  51. &nbsp;<A HREF="../../../me/dcow/pearltrees/Pearltrees.html" title="class in me.dcow.pearltrees"><B>NEXT CLASS</B></A></FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../index.html?me/dcow/pearltrees/PearlTree.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="PearlTree.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  55. &nbsp;<SCRIPT type="text/javascript">
  56. <!--
  57. if(window==top) {
  58. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  59. }
  60. //-->
  61. </SCRIPT>
  62. <NOSCRIPT>
  63. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  64. </NOSCRIPT>
  65. </FONT></TD>
  66. </TR>
  67. <TR>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  70. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  71. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  72. </TR>
  73. </TABLE>
  74. <A NAME="skip-navbar_top"></A>
  75. <!-- ========= END OF TOP NAVBAR ========= -->
  76. <HR>
  77. <!-- ======== START OF CLASS DATA ======== -->
  78. <H2>
  79. <FONT SIZE="-1">
  80. me.dcow.pearltrees</FONT>
  81. <BR>
  82. Class PearlTree</H2>
  83. <PRE>
  84. java.lang.Object
  85. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>me.dcow.pearltrees.PearlTree</B>
  86. </PRE>
  87. <HR>
  88. <DL>
  89. <DT><PRE>public class <B>PearlTree</B><DT>extends java.lang.Object</DL>
  90. </PRE>
  91. <P>
  92. A PearlTree is one root node and all of its child nodes, each of which
  93. is a type of Pearl. A PearlTree is generally only a few levels deep
  94. However, a PearlTree can contain references to other PearlTrees
  95. (traditionally subtrees) in the form of
  96. AliasPearls. If an AliasPearl refers to a tree defined within the RDF/XML
  97. available, it is considered a RefPearl and the referenced PearlTree can
  98. be retrieved. In this way, the entire PearlTree graph can be traversed.
  99. <P>
  100. <P>
  101. <DL>
  102. <DT><B>Author:</B></DT>
  103. <DD>David Cowden</DD>
  104. </DL>
  105. <HR>
  106. <P>
  107. <!-- ========== METHOD SUMMARY =========== -->
  108. <A NAME="method_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Method Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>&nbsp;<A HREF="../../../me/dcow/pearltrees/RootPearl.html" title="class in me.dcow.pearltrees">RootPearl</A></CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../me/dcow/pearltrees/PearlTree.html#getRootPearl()">getRootPearl</A></B>()</CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the RootPearl which represents the root of the PearlTree.</TD>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>&nbsp;java.util.List&lt;<A HREF="../../../me/dcow/pearltrees/Pearl.html" title="class in me.dcow.pearltrees">Pearl</A>&gt;</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../me/dcow/pearltrees/PearlTree.html#getTreePearls()">getTreePearls</A></B>()</CODE>
  125. <BR>
  126. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the underlying List of pearls in this PearlTree.</TD>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>&nbsp;<A HREF="../../../me/dcow/pearltrees/PearlIterator.html" title="interface in me.dcow.pearltrees">PearlIterator</A></CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../me/dcow/pearltrees/PearlTree.html#listTreePearls()">listTreePearls</A></B>()</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List the Pearls in this PearlTree.</TD>
  134. </TR>
  135. </TABLE>
  136. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  137. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  138. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  139. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  140. </TR>
  141. <TR BGCOLOR="white" CLASS="TableRowColor">
  142. <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  143. </TR>
  144. </TABLE>
  145. &nbsp;
  146. <P>
  147. <!-- ============ METHOD DETAIL ========== -->
  148. <A NAME="method_detail"><!-- --></A>
  149. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  150. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  151. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  152. <B>Method Detail</B></FONT></TH>
  153. </TR>
  154. </TABLE>
  155. <A NAME="getRootPearl()"><!-- --></A><H3>
  156. getRootPearl</H3>
  157. <PRE>
  158. public <A HREF="../../../me/dcow/pearltrees/RootPearl.html" title="class in me.dcow.pearltrees">RootPearl</A> <B>getRootPearl</B>()</PRE>
  159. <DL>
  160. <DD>Return the RootPearl which represents the root of the PearlTree.
  161. <P>
  162. <DD><DL>
  163. <DT><B>Returns:</B><DD>RootPearl of the PearlTree</DL>
  164. </DD>
  165. </DL>
  166. <HR>
  167. <A NAME="listTreePearls()"><!-- --></A><H3>
  168. listTreePearls</H3>
  169. <PRE>
  170. public <A HREF="../../../me/dcow/pearltrees/PearlIterator.html" title="interface in me.dcow.pearltrees">PearlIterator</A> <B>listTreePearls</B>()</PRE>
  171. <DL>
  172. <DD>List the Pearls in this PearlTree. The RootPearl is the
  173. first pearl.
  174. <P>
  175. <DD><DL>
  176. <DT><B>Returns:</B><DD>PearlIterator over the Pearls in this PearlTree</DL>
  177. </DD>
  178. </DL>
  179. <HR>
  180. <A NAME="getTreePearls()"><!-- --></A><H3>
  181. getTreePearls</H3>
  182. <PRE>
  183. public java.util.List&lt;<A HREF="../../../me/dcow/pearltrees/Pearl.html" title="class in me.dcow.pearltrees">Pearl</A>&gt; <B>getTreePearls</B>()</PRE>
  184. <DL>
  185. <DD>Get the underlying List of pearls in this PearlTree. Pearls
  186. will be returned in the order, specified by the nested
  187. set values, of each pearl.
  188. <P>
  189. <DD><DL>
  190. <DT><B>Returns:</B><DD></DL>
  191. </DD>
  192. </DL>
  193. <!-- ========= END OF CLASS DATA ========= -->
  194. <HR>
  195. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  196. <A NAME="navbar_bottom"><!-- --></A>
  197. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  198. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  199. <TR>
  200. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  201. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  202. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  203. <TR ALIGN="center" VALIGN="top">
  204. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  205. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  206. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  207. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PearlTree.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  208. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  209. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  210. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  211. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  212. </TR>
  213. </TABLE>
  214. </TD>
  215. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  216. </EM>
  217. </TD>
  218. </TR>
  219. <TR>
  220. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  221. &nbsp;<A HREF="../../../me/dcow/pearltrees/PearlIterator.html" title="interface in me.dcow.pearltrees"><B>PREV CLASS</B></A>&nbsp;
  222. &nbsp;<A HREF="../../../me/dcow/pearltrees/Pearltrees.html" title="class in me.dcow.pearltrees"><B>NEXT CLASS</B></A></FONT></TD>
  223. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  224. <A HREF="../../../index.html?me/dcow/pearltrees/PearlTree.html" target="_top"><B>FRAMES</B></A> &nbsp;
  225. &nbsp;<A HREF="PearlTree.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  226. &nbsp;<SCRIPT type="text/javascript">
  227. <!--
  228. if(window==top) {
  229. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  230. }
  231. //-->
  232. </SCRIPT>
  233. <NOSCRIPT>
  234. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  235. </NOSCRIPT>
  236. </FONT></TD>
  237. </TR>
  238. <TR>
  239. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  240. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  241. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  242. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  243. </TR>
  244. </TABLE>
  245. <A NAME="skip-navbar_bottom"></A>
  246. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  247. <HR>
  248. </BODY>
  249. </HTML>