| Package | Description |
|---|---|
| com.helger.xml.microdom |
| Modifier and Type | Class and Description |
|---|---|
class |
MicroQName
Represents a simple qualified name.
|
| Modifier and Type | Method and Description |
|---|---|
IMicroQName |
MicroAttribute.getAttributeQName() |
IMicroQName |
IMicroAttribute.getAttributeQName()
Get the qualified name of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsOrderedSet<IMicroQName> |
MicroElement.getAllAttributeQNames() |
com.helger.commons.collection.impl.ICommonsOrderedSet<IMicroQName> |
IMicroAttributeContainer.getAllAttributeQNames()
Get a set of all attribute names.
|
com.helger.commons.collection.impl.ICommonsOrderedMap<IMicroQName,String> |
MicroElement.getAllQAttributes() |
com.helger.commons.collection.impl.ICommonsOrderedMap<IMicroQName,String> |
IMicroAttributeContainer.getAllQAttributes()
Get a map of all fully qualified attribute names and values.
|
| Modifier and Type | Method and Description |
|---|---|
default int |
IMicroQName.compareTo(IMicroQName o) |
MicroAttribute |
MicroElement.getAttributeObj(IMicroQName aQName) |
IMicroAttribute |
IMicroAttributeContainer.getAttributeObj(IMicroQName aAttrName)
Get the attribute object with the specified qualified name.
|
default String |
IMicroAttributeContainer.getAttributeValue(IMicroQName aAttrName)
Get the attribute value of the given attribute name.
|
default boolean |
IMicroAttributeContainer.getAttributeValueAsBool(IMicroQName aAttrName,
boolean bDefault) |
default double |
IMicroAttributeContainer.getAttributeValueAsDouble(IMicroQName aAttrName,
double dDefault) |
default float |
IMicroAttributeContainer.getAttributeValueAsFloat(IMicroQName aAttrName,
float fDefault) |
default int |
IMicroAttributeContainer.getAttributeValueAsInt(IMicroQName aAttrName,
int nDefault) |
default long |
IMicroAttributeContainer.getAttributeValueAsLong(IMicroQName aAttrName,
long nDefault) |
<DSTTYPE> DSTTYPE |
MicroElement.getAttributeValueWithConversion(IMicroQName aAttrName,
Class<DSTTYPE> aDstClass) |
<DSTTYPE> DSTTYPE |
IMicroAttributeContainer.getAttributeValueWithConversion(IMicroQName aAttrName,
Class<DSTTYPE> aDstClass)
Get the attribute value of the given attribute name.
|
boolean |
MicroElement.hasAttribute(IMicroQName aAttrName) |
boolean |
IMicroAttributeContainer.hasAttribute(IMicroQName aAttrName)
Check if this element has an attribute with the specified name.
|
com.helger.commons.state.EChange |
MicroElement.removeAttribute(IMicroQName aAttrName) |
com.helger.commons.state.EChange |
IMicroAttributeContainer.removeAttribute(IMicroQName aAttrName)
Remove the attribute with the given name.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
boolean bAttrValue)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
double dAttrValue)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
float fAttrValue)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
IHasAttributeValue aAttrValueProvider)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
int nAttrValue)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
long nAttrValue)
Set an attribute value of this element.
|
MicroElement |
MicroElement.setAttribute(IMicroQName aAttrName,
String sAttrValue) |
IMPLTYPE |
IMicroAttributeContainer.setAttribute(IMicroQName aAttrName,
String sAttrValue)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttributeWithConversion(IMicroQName aAttrName,
Object aAttrValue)
Set an attribute value of this element.
|
default IMPLTYPE |
IMicroAttributeContainer.setAttributeWithConversion(IMicroQName aAttrName,
String sAttrValue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MicroElement.forAllAttributes(BiConsumer<? super IMicroQName,? super String> aConsumer) |
void |
IMicroAttributeContainer.forAllAttributes(BiConsumer<? super IMicroQName,? super String> aConsumer)
Iterate all attribute objects.
|
| Constructor and Description |
|---|
MicroAttribute(IMicroQName aQName,
String sAttributeValue) |
Copyright © 2014–2018 Philip Helger. All rights reserved.