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
String getLanguage()Gets the language what belongs to the template- Returns:
-
accept
Accept the visitor to visit the element- Parameters:
visitor-- Returns:
-
getTemplate
String getTemplate()Gets the template of specified element- Returns:
-
language
Assigns the language to- Parameters:
language-- Returns:
-
template
Assigns the template to the element- Parameters:
template-- Returns:
-
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:
-