public interface IMicroAttribute extends Serializable, ICloneable<IMicroAttribute>
| Modifier and Type | Method and Description |
|---|---|
QName |
getAsXMLQName() |
QName |
getAsXMLQName(String sPrefix) |
String |
getAttributeName()
Get the name of the attribute.
|
IMicroQName |
getAttributeQName()
Get the qualified name of the attribute.
|
String |
getAttributeValue() |
IMicroAttribute |
getClone() |
String |
getNamespaceURI()
Get the namespace URI of this attribute
|
boolean |
hasNamespaceURI()
Check if this attribute has a specified namespace URI.
|
boolean |
hasNamespaceURI(String sNamespaceURI)
Check if this attribute has the specified namespace URI.
|
boolean |
hasNoNamespaceURI()
Check if this attribute has no namespace URI.
|
EChange |
setAttributeValue(String sAttributeValue)
Set the value of the attribute.
|
@Nullable String getNamespaceURI()
null if this attribute has no namespace URI.boolean hasNamespaceURI()
true if this attribute has a specified namespace URI,
false otherwiseboolean hasNoNamespaceURI()
true if this attribute has no namespace URI,
false otherwiseboolean hasNamespaceURI(@Nullable String sNamespaceURI)
sNamespaceURI - The namespace URI to check. May not be null.true if this attribute has the specified namespace
URI, false otherwise@Nonnull String getAttributeName()
null.@Nonnull IMicroQName getAttributeQName()
null.@Nonnull QName getAsXMLQName()
@Nonnull QName getAsXMLQName(@Nonnull String sPrefix)
sPrefix - the namespace prefix to be used in the resulting object. May not be
null but maybe empty.@Nonnull String getAttributeValue()
null.@Nonnull EChange setAttributeValue(@Nonnull String sAttributeValue)
sAttributeValue - The new value to be set. May not be null.EChange.@Nonnull IMicroAttribute getClone()
getClone in interface ICloneable<IMicroAttribute>Copyright © 2014–2016 Philip Helger. All rights reserved.