]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc/src/main/java/org/argeo/slc/core/structure/tree/TreeSPath.java
- Documentation
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / core / structure / tree / TreeSPath.java
index daa160626c5ad73336429da3abe5ce5a35bf195f..37d615f9af9d7ea7387fad8138a737eea01cc8d1 100644 (file)
@@ -9,8 +9,6 @@ import org.argeo.slc.core.structure.StructureRegistry;
 \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
@@ -24,8 +22,8 @@ public class TreeSPath implements StructurePath, Comparable<StructurePath> {
                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
@@ -78,10 +76,10 @@ public class TreeSPath implements StructurePath, Comparable<StructurePath> {
                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
@@ -113,5 +111,4 @@ public class TreeSPath implements StructurePath, Comparable<StructurePath> {
                return getAsUniqueString().compareTo(o.getAsUniqueString());\r
        }\r
 \r
-       \r
 }\r