public class TemplateNode
extends LinkedHashMap<String,Object>
Constructor and Description |
---|
TemplateNode(ThemeDisplay themeDisplay,
String name,
String data,
String type,
Map<String,String> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
appendChild(TemplateNode templateNode) |
void |
appendChildren(List<TemplateNode> templateNodes) |
void |
appendOption(String option) |
void |
appendOptionMap(String value,
String label) |
void |
appendOptions(List<String> options) |
void |
appendOptionsMap(Map<String,String> optionMap) |
void |
appendSibling(TemplateNode templateNode) |
String |
getAttribute(String name) |
Map<String,String> |
getAttributes() |
TemplateNode |
getChild(String name) |
List<TemplateNode> |
getChildren() |
String |
getData() |
String |
getFriendlyUrl() |
String |
getName() |
List<String> |
getOptions() |
Map<String,String> |
getOptionsMap() |
List<TemplateNode> |
getSiblings() |
String |
getType() |
String |
getUrl() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
public TemplateNode(ThemeDisplay themeDisplay, String name, String data, String type, Map<String,String> attributes)
public void appendChild(TemplateNode templateNode)
public void appendChildren(List<TemplateNode> templateNodes)
public void appendOption(String option)
public void appendOptionMap(String value, String label)
public void appendOptions(List<String> options)
public void appendOptionsMap(Map<String,String> optionMap)
public void appendSibling(TemplateNode templateNode)
public String getAttribute(String name)
public Map<String,String> getAttributes()
public TemplateNode getChild(String name)
public List<TemplateNode> getChildren()
public String getData()
public String getFriendlyUrl()
public String getName()
public List<String> getOptions()
public Map<String,String> getOptionsMap()
public List<TemplateNode> getSiblings()
public String getType()
public String getUrl()