isAttributeSet
public static final 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. If the value of the mustBeSetOnAll parameter is true, then all Elements must have the attribute set to true. If the value is false, then at least on Element must have the attribute set.
- Parameters:
elements
-
attributeName
-
- Returns: