\r
/**\r
* Path for tree based <code>StructureRegistry</code> implementations.\r
- * \r
- * @see TreeSRegistry\r
*/\r
public class TreeSPath implements StructurePath, Comparable<StructurePath> {\r
/** Default character to use a separator: #. */\r
String parentStr = parent != null ? parent.getAsUniqueString() : "";\r
return parentStr + separator + name;\r
}\r
- \r
- public void setAsUniqueString(String str){\r
+\r
+ public void setAsUniqueString(String str) {\r
TreeSPath twin = parseToCreatePath(str, getSeparator());\r
name = twin.name;\r
parent = twin.parent;\r
return currPath;\r
}\r
\r
- public List<TreeSPath> listChildren(StructureRegistry registry){\r
+ public List<TreeSPath> listChildren(StructureRegistry registry) {\r
return listChildrenPaths(registry, this);\r
}\r
- \r
+\r
public static List<TreeSPath> listChildrenPaths(StructureRegistry registry,\r
TreeSPath path) {\r
List<TreeSPath> paths = new Vector<TreeSPath>();\r
return getAsUniqueString().compareTo(o.getAsUniqueString());\r
}\r
\r
- \r
}\r