public class AttributeSet extends Object
| Constructor and Description |
|---|
AttributeSet(Attribute... attributes) |
AttributeSet(Collection<Attribute> attributes) |
AttributeSet(Map<Key,Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
add(Attribute... attr) |
boolean |
containsKey(Key key) |
boolean |
containsKey(String key) |
boolean |
equals(Object o) |
Attribute |
getAttribute(String key) |
int |
hashCode() |
static AttributeSet |
map(Attribute... attributes) |
boolean |
matches(AttributeSet candidate)
matches if attributes in db has (or doesn't if WITHOUT command) a set of candidate attributes
Also supports EXISTS and NOT_EXISTS operations
|
static AttributeSet |
merge(AttributeSet... attributeSets) |
String |
toString() |
public AttributeSet(Attribute... attributes)
public AttributeSet(Collection<Attribute> attributes)
public static AttributeSet merge(AttributeSet... attributeSets)
public static AttributeSet map(Attribute... attributes)
public AttributeSet add(Attribute... attr)
public boolean containsKey(String key)
public boolean containsKey(Key key)
public boolean matches(AttributeSet candidate)
candidate - - set of candidate attributesCopyright © 2015–2024 Red Hat. All rights reserved.