package org.argeo.slc.core.structure.tree;\r
\r
+import org.argeo.slc.core.structure.SimpleSElement;\r
+import org.argeo.slc.core.structure.StructureElement;\r
import org.argeo.slc.core.structure.StructureRegistry;\r
\r
/**\r
- * Provides default implementations of some methods of\r
- * <code>TreeSRelated</code>.\r
+ * Provides default implementations of some methods of <code>TreeSRelated</code>.\r
*/\r
public abstract class TreeSRelatedHelper implements TreeSRelated {\r
private TreeSPath basePath;\r
private StructureRegistry<TreeSPath> registry;\r
\r
-\r
public TreeSPath getBasePath() {\r
return basePath;\r
}\r
basePath = path;\r
this.registry = registry;\r
}\r
+\r
+ public StructureElement getStructureElement(String key) {\r
+ return new SimpleSElement(key);\r
+ }\r
+\r
}\r