Package org.hippoecm.frontend.editor
Interface ITemplateEngine
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
public interface ITemplateEngine extends org.apache.wicket.util.io.IClusterable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getEditableTypes()
org.apache.wicket.model.IModel<?>
getPrototype(ITypeDescriptor type)
IClusterConfig
getTemplate(ITypeDescriptor type, IEditor.Mode mode)
ITypeDescriptor
getType(String type)
ITypeDescriptor
getType(org.apache.wicket.model.IModel<?> model)
-
-
-
Field Detail
-
ENGINE
static final String ENGINE
The configuration key to use when locating the template engine service.- See Also:
- Constant Field Values
-
MODE
static final String MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
ITypeDescriptor getType(String type) throws TemplateEngineException
- Throws:
TemplateEngineException
-
getType
ITypeDescriptor getType(org.apache.wicket.model.IModel<?> model) throws TemplateEngineException
- Throws:
TemplateEngineException
-
getTemplate
IClusterConfig getTemplate(ITypeDescriptor type, IEditor.Mode mode) throws TemplateEngineException
- Throws:
TemplateEngineException
-
getPrototype
org.apache.wicket.model.IModel<?> getPrototype(ITypeDescriptor type) throws TemplateEngineException
- Throws:
TemplateEngineException
-
-