Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.templateparser
Class TemplateNode

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,Object>
              extended by com.liferay.portal.kernel.templateparser.TemplateNode
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class TemplateNode
extends LinkedHashMap<String,Object>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
TemplateNode(ThemeDisplay themeDisplay, String name, String data, String type)
           
 
Method Summary
 void appendChild(TemplateNode templateNode)
           
 void appendChildren(List<TemplateNode> templateNodes)
           
 void appendOption(String option)
           
 void appendOptions(List<String> options)
           
 void appendSibling(TemplateNode templateNode)
           
 TemplateNode getChild(String name)
           
 List<TemplateNode> getChildren()
           
 String getData()
           
 String getFriendlyUrl()
           
protected  long getLayoutId()
           
protected  String getLayoutType()
           
 String getName()
           
 List<String> getOptions()
           
 List<TemplateNode> getSiblings()
           
 String getType()
           
 String getUrl()
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

TemplateNode

public TemplateNode(ThemeDisplay themeDisplay,
                    String name,
                    String data,
                    String type)
Method Detail

appendChild

public void appendChild(TemplateNode templateNode)

appendChildren

public void appendChildren(List<TemplateNode> templateNodes)

appendOption

public void appendOption(String option)

appendOptions

public void appendOptions(List<String> options)

appendSibling

public void appendSibling(TemplateNode templateNode)

getChild

public TemplateNode getChild(String name)

getChildren

public List<TemplateNode> getChildren()

getData

public String getData()

getFriendlyUrl

public String getFriendlyUrl()

getName

public String getName()

getOptions

public List<String> getOptions()

getSiblings

public List<TemplateNode> getSiblings()

getType

public String getType()

getUrl

public String getUrl()

getLayoutId

protected long getLayoutId()

getLayoutType

protected String getLayoutType()

Liferay 6.1.2-ce-ga3