Class InputTemplateNode

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
com.liferay.fragment.input.template.parser.InputTemplateNode
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class InputTemplateNode extends LinkedHashMap<String,Object>
See Also:
  • Constructor Details

    • InputTemplateNode

      public InputTemplateNode(String errorMessage, String helpText, String label, boolean localizable, String name, boolean readOnly, boolean required, boolean showHelpText, boolean showLabel, String type, String value, Map<Locale,String> valueI18n)
  • Method Details

    • addAttribute

      public void addAttribute(String name, Object object)
    • getAttributes

      public Map<String,Object> getAttributes()
    • getErrorMessage

      public String getErrorMessage()
    • getHelpText

      public String getHelpText()
    • getInputLabel

      public String getInputLabel()
    • getInputName

      public String getInputName()
    • getInputValue

      public String getInputValue()
    • getType

      public String getType()
    • getValueI18n

      public Map<Locale,String> getValueI18n()
    • isLocalizable

      public boolean isLocalizable()
    • isReadOnly

      public boolean isReadOnly()
    • isRequired

      public boolean isRequired()
    • isShowHelpText

      public boolean isShowHelpText()
    • isShowLabel

      public boolean isShowLabel()
    • toJSONObject

      public com.liferay.portal.kernel.json.JSONObject toJSONObject()