Class CMSComponentAttribute

java.lang.Object
io.goobi.viewer.model.cms.pages.content.CMSComponentAttribute
All Implemented Interfaces:
Serializable

public class CMSComponentAttribute extends Object implements Serializable
Represents a configurable attribute of a CMS component, loaded from a component template XML element, carrying a name, label, type, a list of selectable Options, and the currently active value.
See Also:
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
    • getName

      public String getName()
    • getLabel

      public String getLabel()
    • getType

      public String getType()
    • getOptions

      public List<Option> getOptions()
    • getBooleanValue

      public boolean getBooleanValue()
    • isDisplay

      public boolean isDisplay()
    • isBooleanValue

      public boolean isBooleanValue()
    • loadFromXML

      public static CMSComponentAttribute loadFromXML(org.jdom2.Element element)
      Parameters:
      element - the XML element to parse
      Returns:
      CMSComponentAttribute