import org.argeo.slc.core.UnsupportedException;\r
import org.argeo.slc.core.structure.SimpleSElement;\r
import org.argeo.slc.core.structure.StructureElement;\r
import org.argeo.slc.core.UnsupportedException;\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
/** Tree based implementation of a structure registry. */\r
import org.argeo.slc.core.structure.StructureRegistry;\r
\r
/** Tree based implementation of a structure registry. */\r
private Map<TreeSPath, SimpleSElement> elements = new TreeMap<TreeSPath, SimpleSElement>();\r
\r
private String mode = StructureRegistry.ALL;\r
\r
private Map<TreeSPath, SimpleSElement> elements = new TreeMap<TreeSPath, SimpleSElement>();\r
\r
private String mode = StructureRegistry.ALL;\r
\r
}\r
\r
public List<StructureElement> listElements() {\r
return new Vector<StructureElement>(elements.values());\r
}\r
\r
}\r
\r
public List<StructureElement> listElements() {\r
return new Vector<StructureElement>(elements.values());\r
}\r
\r
final SimpleSElement simpleSElement;\r
if (element instanceof SimpleSElement) {\r
simpleSElement = (SimpleSElement) element;\r
final SimpleSElement simpleSElement;\r
if (element instanceof SimpleSElement) {\r
simpleSElement = (SimpleSElement) element;\r