Package org.apache.axiom.om
Interface OMAttribute
- All Superinterfaces:
OMInformationItem
,OMNamedInformationItem
Interface OMAttribute
-
Method Summary
Modifier and TypeMethodDescriptionGet the attribute type.Get the attribute value.getOwner()
Returns the owner element of this attributevoid
setAttributeType
(String value) void
setAttributeValue
(String value) void
setOMNamespace
(OMNamespace omNamespace) Deprecated.Methods inherited from interface org.apache.axiom.om.OMInformationItem
clone, getOMFactory
Methods inherited from interface org.apache.axiom.om.OMNamedInformationItem
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, hasName, setLocalName, setNamespace
-
Method Details
-
getAttributeValue
String getAttributeValue()Get the attribute value.- Returns:
- the attribute value; never
null
-
setAttributeValue
- Parameters:
value
-
-
getAttributeType
String getAttributeType()Get the attribute type. For most attributes, the type isCDATA
.- Returns:
- the attribute type
-
setAttributeType
- Parameters:
value
-
-
setOMNamespace
Deprecated. -
getOwner
OMElement getOwner()Returns the owner element of this attribute- Returns:
- OMElement - The owner element
-
OMNamedInformationItem.setNamespace(OMNamespace, boolean)
instead.