Package org.xwiki.template
Interface Template
-
public interface Template
A template.- Since:
- 7.0M1
- Version:
- $Id: 8d439564c006dd63739943fbce2a3899981e39fd $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateContent
getContent()
Parse and return the template content.String
getId()
String
getPath()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the identifier of the template
-
getPath
String getPath()
- Returns:
- the path of the template
-
getContent
TemplateContent getContent() throws Exception
Parse and return the template content.- Returns:
- the content of the template
- Throws:
Exception
- when failing to parse the template
-
-