Package org.hippoecm.frontend.types
Interface ITypeStore
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,IStore<ITypeDescriptor>
,Serializable
- All Known Implementing Classes:
BuiltinTypeStore
public interface ITypeStore extends IStore<ITypeDescriptor>
A type store makes type descriptors available. Based on type names, descriptors are retrieved from persistent or transient storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITypeDescriptor
getTypeDescriptor(String name)
Retrieve the type descriptor of a particular nameList<ITypeDescriptor>
getTypes(String namespace)
Retrieve all types in a namespace.
-
-
-
Method Detail
-
getTypeDescriptor
ITypeDescriptor getTypeDescriptor(String name)
Retrieve the type descriptor of a particular name- Parameters:
name
- the name of the type- Returns:
- the type descriptor
-
getTypes
List<ITypeDescriptor> getTypes(String namespace)
Retrieve all types in a namespace. The namespace is identified by a prefix.- Parameters:
namespace
- the prefix for the namespace- Returns:
- the list of type descriptors in the specified namespace
-
-