Package com.peterphi.carbon.type.mutable
Class CarbonModuleData
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.mutable.CarbonModuleData
- Direct Known Subclasses:
CarbonMultisourceModuleDataSimple
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Helper method to retrieve the value of an attribute on this ElementvoidsetAttribute(String name, String value) Helper method to set the value of an attribute on this ElementMethods inherited from class com.peterphi.carbon.type.XMLWrapper
getElement, getElement
-
Constructor Details
-
CarbonModuleData
public CarbonModuleData(org.jdom2.Element element)
-
-
Method Details
-
setAttribute
Description copied from class:XMLWrapperHelper method to set the value of an attribute on this Element- Overrides:
setAttributein classXMLWrapper- Parameters:
name- the attribute namevalue- the value to set - if null the attribute is removed
-
getAttribute
Description copied from class:XMLWrapperHelper method to retrieve the value of an attribute on this Element- Overrides:
getAttributein classXMLWrapper- Returns:
-