Interface Element
public interface Element
-
Method Summary
Modifier and TypeMethodDescriptionaccept(ElementVisitor visitor) Accept the visitor to visit the elementaddNewLine(boolean needNewLine) Set the value isNewLine for the case digestconfig(PluginConfig templateConfig) Sets the template configure for the elementGets the language what belongs to the templateGets template configure for the element uses it in the case when we need to get the groovy template.Gets the template of specified elementbooleanGet the value of isNewLineAssigns the language toAssigns the template to the element
-
Method Details
-
getLanguage
-
accept
Accept the visitor to visit the element- Parameters:
visitor-- Returns:
-
getTemplate
-
language
-
template
-
getPluginConfig
PluginConfig getPluginConfig()Gets template configure for the element uses it in the case when we need to get the groovy template.- Returns:
-
config
Sets the template configure for the element- Parameters:
templateConfig-- Returns:
-
addNewLine
Set the value isNewLine for the case digest- Parameters:
needNewLine-- Returns:
-
isNewLine
boolean isNewLine()Get the value of isNewLine- Returns:
-