]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/structure/tree/TreeSRelatedHelper.java
acc829c36fe59a4f78a1b78e72fa480faea59659
1 package org
.argeo
.slc
.core
.structure
.tree
;
3 import org
.argeo
.slc
.core
.structure
.SimpleSElement
;
4 import org
.argeo
.slc
.core
.structure
.StructureElement
;
5 import org
.argeo
.slc
.core
.structure
.StructureRegistry
;
8 * Provides default implementations of some methods of <code>TreeSRelated</code>.
10 public abstract class TreeSRelatedHelper
implements TreeSRelated
{
11 private TreeSPath basePath
;
12 private StructureRegistry
<TreeSPath
> registry
;
14 public TreeSPath
getBasePath() {
18 public StructureRegistry
<TreeSPath
> getRegistry() {
22 public void notifyCurrentPath(StructureRegistry
<TreeSPath
> registry
,
25 this.registry
= registry
;
28 public StructureElement
getStructureElement(String key
) {
29 return new SimpleSElement(key
);