Package com.helger.xml.microdom
Class MicroAttribute
java.lang.Object
com.helger.xml.microdom.MicroAttribute
- All Implemented Interfaces:
com.helger.commons.lang.ICloneable<IMicroAttribute>,IMicroAttribute
Default implementation of the
IMicroAttribute interface.- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionMicroAttribute(IMicroQName aQName, String sAttributeValue) MicroAttribute(String sAttributeName, String sAttributeValue) MicroAttribute(String sNamespaceURI, String sAttributeName, String sAttributeValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the qualified name of the attribute.getClone()inthashCode()com.helger.commons.state.EChangesetAttributeValue(String sAttributeValue) Set the value of the attribute.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.xml.microdom.IMicroAttribute
getAsXMLQName, getAsXMLQName, getAttributeName, getNamespaceURI, hasNamespaceURI, hasNamespaceURI, hasNoNamespaceURI
-
Constructor Details
-
MicroAttribute
-
MicroAttribute
-
MicroAttribute
-
-
Method Details
-
getAttributeQName
Description copied from interface:IMicroAttributeGet the qualified name of the attribute. It never contains XML schema prefixes or the like.- Specified by:
getAttributeQNamein interfaceIMicroAttribute- Returns:
- The qualified name (namespace URI + local name) of the attribute
and never
null.
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceIMicroAttribute- Returns:
- The value associated with this attribute. Never
null.
-
setAttributeValue
Description copied from interface:IMicroAttributeSet the value of the attribute.- Specified by:
setAttributeValuein interfaceIMicroAttribute- Parameters:
sAttributeValue- The new value to be set. May not benull.- Returns:
EChange.
-
getClone
Description copied from interface:IMicroAttribute- Specified by:
getClonein interfacecom.helger.commons.lang.ICloneable<IMicroAttribute>- Specified by:
getClonein interfaceIMicroAttribute
-
equals
-
hashCode
public int hashCode() -
toString
-