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
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) Helper method to retrieve the value of an attribute on this Elementvoid
setAttribute
(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:XMLWrapper
Helper method to set the value of an attribute on this Element- Overrides:
setAttribute
in classXMLWrapper
- Parameters:
name
- the attribute namevalue
- the value to set - if null the attribute is removed
-
getAttribute
Description copied from class:XMLWrapper
Helper method to retrieve the value of an attribute on this Element- Overrides:
getAttribute
in classXMLWrapper
- Returns:
-