Package org.apache.axiom.om
Interface OMAttribute
-
- All Superinterfaces:
OMInformationItem,OMNamedInformationItem
public interface OMAttribute extends OMNamedInformationItem
Interface OMAttribute
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetAttributeType()Get the attribute type.StringgetAttributeValue()Get the attribute value.OMElementgetOwner()Returns the owner element of this attributevoidsetAttributeType(String value)voidsetAttributeValue(String value)voidsetOMNamespace(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 Detail
-
getAttributeValue
String getAttributeValue()
Get the attribute value.- Returns:
- the attribute value; never
null
-
setAttributeValue
void setAttributeValue(String value)
- Parameters:
value-
-
getAttributeType
String getAttributeType()
Get the attribute type. For most attributes, the type isCDATA.- Returns:
- the attribute type
-
setAttributeType
void setAttributeType(String value)
- Parameters:
value-
-
setOMNamespace
void setOMNamespace(OMNamespace omNamespace)
Deprecated.
-
getOwner
OMElement getOwner()
Returns the owner element of this attribute- Returns:
- OMElement - The owner element
-
-