public interface Element
| Modifier and Type | Method and Description |
|---|---|
ElementVisitor |
accept(ElementVisitor visitor)
Accept the visitor to visit the element
|
Element |
addNewLine(boolean needNewLine)
Set the value isNewLine for the case digest
|
Element |
config(TemplateConfig templateConfig)
Sets the template configure for the element
|
String |
getLanguage()
Gets the language what belongs to the template
|
String |
getTemplate()
Gets the template of specified element
|
TemplateConfig |
getTemplateConfig()
Gets template configure for the element
uses it in the case when we need to get the groovy template.
|
boolean |
isNewLine()
Get the value of isNewLine
|
Element |
language(String language)
Assigns the language to
|
Element |
template(String template)
Assigns the template to the element
|
String getLanguage()
ElementVisitor accept(ElementVisitor visitor)
visitor - String getTemplate()
Element template(String template)
template - TemplateConfig getTemplateConfig()
Element config(TemplateConfig templateConfig)
templateConfig - Element addNewLine(boolean needNewLine)
needNewLine - boolean isNewLine()
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.