public class TemplateNode extends LinkedHashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
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() |
protected long |
getLayoutGroupId() |
protected long |
getLayoutId() |
protected String |
getLayoutType() |
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
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public void appendChild(TemplateNode templateNode)
public void appendChildren(List<TemplateNode> templateNodes)
public void appendOption(String option)
public void appendSibling(TemplateNode templateNode)
public TemplateNode getChild(String name)
public List<TemplateNode> getChildren()
public String getData()
public String getFriendlyUrl()
public String getName()
public List<TemplateNode> getSiblings()
public String getType()
public String getUrl()
protected long getLayoutGroupId()
protected long getLayoutId()
protected String getLayoutType()