public interface BroadleafTemplateContext
<T> T parseExpression(String value)
value evaluates to using the underlying template languageList<BroadleafAssignation> getAssignationSequence(String value, boolean allowParametersWithoutValue)
allowParametersWithoutValue - true if assignations where the key has no value assigning to it is validBroadleafAssignations that were evaluated from valueBroadleafTemplateNonVoidElement createNonVoidElement(String tagName, Map<String,String> attributes, boolean useDoubleQuotes)
tagName - The name of the tag that is being createdattributes - The attributes that should be added to the taguseDoubleQuotes - True if the attribute values should be surrounded by double quotes and false if they should use single quotesBroadleafTemplateNonVoidElement createNonVoidElement(String tagName)
tagName - The name of the tag that is being createdBroadleafTemplateElement createStandaloneElement(String tagName, Map<String,String> attributes, boolean useDoubleQuotes)
tagName - The name of the tag that is being createdattributes - The attributes that should be added to the taguseDoubleQuotes - True if the attribute values should be surrounded by double quotes and false if they should use single quotesBroadleafTemplateElement createStandaloneElement(String tagName)
tagName - The name of the tag that is being createdBroadleafTemplateElement createTextElement(String text)
text - The text that the BroadleafTemplateElement should representBroadleafTemplateModel createModel()
BroadleafTemplateModel that can have elements added to it to make a snippet of markupvoid setNodeLocalVariable(BroadleafTemplateElement element, String key, Object value)
elementvoid setNodeLocalVariables(BroadleafTemplateElement element, Map<String,Object> variableMap)
elementObject getVariable(String name)
nameBroadleafBindStatus getBindStatus(String attributeValue)
BindStatus for attributeValuejavax.servlet.http.HttpServletRequest getRequest()
Copyright © 2024. All rights reserved.