public interface IMicroAttribute extends Serializable, com.helger.commons.lang.ICloneable<IMicroAttribute>
| Modifier and Type | Method and Description |
|---|---|
default QName |
getAsXMLQName() |
default QName |
getAsXMLQName(String sPrefix) |
default String |
getAttributeName()
Get the (local) name of the attribute.
|
IMicroQName |
getAttributeQName()
Get the qualified name of the attribute.
|
String |
getAttributeValue() |
IMicroAttribute |
getClone() |
default String |
getNamespaceURI()
Get the namespace URI of this attribute
|
default boolean |
hasNamespaceURI()
Check if this attribute has a specified namespace URI.
|
default boolean |
hasNamespaceURI(String sNamespaceURI)
Check if this attribute has the specified namespace URI.
|
default boolean |
hasNoNamespaceURI()
Check if this attribute has no namespace URI.
|
com.helger.commons.state.EChange |
setAttributeValue(String sAttributeValue)
Set the value of the attribute.
|
@Nullable default String getNamespaceURI()
null if this attribute has no namespace URI.default boolean hasNamespaceURI()
true if this attribute has a specified namespace URI,
false otherwisedefault boolean hasNoNamespaceURI()
true if this attribute has no namespace URI,
false otherwisedefault boolean 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 default String getAttributeName()
null.@Nonnull IMicroQName getAttributeQName()
null.@Nonnull default QName getAsXMLQName()
@Nonnull default 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 com.helger.commons.state.EChange setAttributeValue(@Nonnull String sAttributeValue)
sAttributeValue - The new value to be set. May not be null.EChange.@Nonnull IMicroAttribute getClone()
getClone in interface com.helger.commons.lang.ICloneable<IMicroAttribute>Copyright © 2014–2016 Philip Helger. All rights reserved.