Class CMSComponentAttribute
java.lang.Object
io.goobi.viewer.model.cms.pages.content.CMSComponentAttribute
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionCMSComponentAttribute(CMSComponentAttribute orig, String value) CMSComponentAttribute(String name, String label, String type, boolean display, boolean booleanValue, List<Option> options, String value) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetLabel()getName()getType()getValue()booleanbooleanstatic CMSComponentAttributeloadFromXML(org.jdom2.Element element)
-
Constructor Details
-
CMSComponentAttribute
-
CMSComponentAttribute
-
CMSComponentAttribute
-
-
Method Details
-
getValue
-
getName
-
getLabel
-
getType
-
getOptions
-
getBooleanValue
public boolean getBooleanValue() -
isDisplay
public boolean isDisplay() -
isBooleanValue
public boolean isBooleanValue() -
loadFromXML
- Parameters:
element- the XML element to parse- Returns:
CMSComponentAttribute
-