public final class ElementAttributeUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT_ATTRIBUTE_PARAM_NAME |
| Constructor and Description |
|---|
ElementAttributeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getElementAttribute(java.lang.String attributeName)
If the attributeName string corresponds to the name of a
constant field in ElementAttributes, returns the int value
of that constant.
|
static boolean |
isAttributeSet(Element[] elements,
java.lang.String attributeName,
boolean mustBeSetOnAll)
Returns true if that attributeName corresponds to the
name of a constant in ElementAttributes, and if that
attribute is set on the expected number of Elements
in the given array.
|
public static final java.lang.String ELEMENT_ATTRIBUTE_PARAM_NAME
public static final boolean isAttributeSet(Element[] elements, java.lang.String attributeName, boolean mustBeSetOnAll)
elements - attributeName - public static final int getElementAttribute(java.lang.String attributeName)
attributeName -