| 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.ext.ICommonsOrderedSet<IMicroQName> |
MicroElement.getAllAttributeQNames() |
com.helger.commons.collection.ext.ICommonsOrderedSet<IMicroQName> |
IMicroElement.getAllAttributeQNames()
Get a set of all attribute names.
|
com.helger.commons.collection.ext.ICommonsOrderedMap<IMicroQName,String> |
MicroElement.getAllQAttributes() |
com.helger.commons.collection.ext.ICommonsOrderedMap<IMicroQName,String> |
IMicroElement.getAllQAttributes()
Get a map of all fully qualified attribute names and values.
|
| Modifier and Type | Method and Description |
|---|---|
MicroAttribute |
MicroElement.getAttributeObj(IMicroQName aQName) |
IMicroAttribute |
IMicroElement.getAttributeObj(IMicroQName aAttrName)
Get the attribute object with the specified qualified name.
|
default String |
IMicroElement.getAttributeValue(IMicroQName aAttrName)
Get the attribute value of the given attribute name.
|
default boolean |
IMicroElement.getAttributeValueAsBool(IMicroQName aAttrName,
boolean bDefault) |
default double |
IMicroElement.getAttributeValueAsDouble(IMicroQName aAttrName,
double dDefault) |
default float |
IMicroElement.getAttributeValueAsFloat(IMicroQName aAttrName,
float fDefault) |
default int |
IMicroElement.getAttributeValueAsInt(IMicroQName aAttrName,
int nDefault) |
default long |
IMicroElement.getAttributeValueAsLong(IMicroQName aAttrName,
long nDefault) |
<DSTTYPE> DSTTYPE |
MicroElement.getAttributeValueWithConversion(IMicroQName aAttrName,
Class<DSTTYPE> aDstClass) |
<DSTTYPE> DSTTYPE |
IMicroElement.getAttributeValueWithConversion(IMicroQName aAttrName,
Class<DSTTYPE> aDstClass)
Get the attribute value of the given attribute name.
|
boolean |
MicroElement.hasAttribute(IMicroQName aAttrName) |
boolean |
IMicroElement.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 |
IMicroElement.removeAttribute(IMicroQName aAttrName)
Remove the attribute with the given name.
|
default IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
boolean bAttrValue)
Set an attribute value of this element.
|
default IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
double dAttrValue)
Set an attribute value of this element.
|
default IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
float fAttrValue)
Set an attribute value of this element.
|
default IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
IHasAttributeValue aAttrValueProvider)
Set an attribute value of this element.
|
default IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
int nAttrValue)
Set an attribute value of this element.
|
default IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
long nAttrValue)
Set an attribute value of this element.
|
MicroElement |
MicroElement.setAttribute(IMicroQName aAttrName,
String sAttrValue) |
IMicroElement |
IMicroElement.setAttribute(IMicroQName aAttrName,
String sAttrValue)
Set an attribute value of this element.
|
default IMicroElement |
IMicroElement.setAttributeWithConversion(IMicroQName aAttrName,
Object aAttrValue)
Set an attribute value of this element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MicroElement.forAllAttributes(BiConsumer<? super IMicroQName,? super String> aConsumer) |
void |
IMicroElement.forAllAttributes(BiConsumer<? super IMicroQName,? super String> aConsumer)
Iterate all attribute objects.
|
| Constructor and Description |
|---|
MicroAttribute(IMicroQName aQName,
String sAttributeValue) |
Copyright © 2014–2016 Philip Helger. All rights reserved.