Package | Description |
---|---|
org.xwiki.template |
Modifier and Type | Method and Description |
---|---|
default Template |
TemplateManager.createStringTemplate(String content,
DocumentReference author)
Create a new template using a given content and a specific author.
|
Template |
TemplateManager.getSkinTemplate(String templateName,
Skin skin)
Search the template with passed name in the passed skin.
|
Template |
TemplateManager.getTemplate(String templateName)
Search everywhere for the template with passed name depending on the current context (current skin, etc).
|
Template |
TemplateManager.getTemplate(String templateName,
Skin skin)
Search the template with passed name in the passed skin.
|
Modifier and Type | Method and Description |
---|---|
org.xwiki.rendering.block.XDOM |
TemplateManager.execute(Template template)
Execute and return the template as
XDOM . |
org.xwiki.rendering.block.XDOM |
TemplateManager.executeNoException(Template template)
Execute and return the template as
XDOM . |
org.xwiki.rendering.block.XDOM |
TemplateManager.getXDOM(Template template)
Parse the template with the provided name and return it as
XDOM . |
org.xwiki.rendering.block.XDOM |
TemplateManager.getXDOMNoException(Template template)
Parse the template with the provided name and return it as
XDOM . |
void |
TemplateManager.render(Template template,
Writer writer)
Execute and render the template in current target syntax.
|
void |
TemplateManager.renderNoException(Template template,
Writer writer)
Execute and render the template in current target syntax.
|
Copyright © 2004–2022 XWiki. All rights reserved.