public class Attributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static Attributes |
EMPTY |
| Constructor and Description |
|---|
Attributes() |
Attributes(Attributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
addValue(Attribute attribute) |
Attribute |
addValue(CharSequence key,
CharSequence value) |
Attributes |
addValues(Attributes attributes) |
void |
clear() |
boolean |
contains(CharSequence key) |
boolean |
containsValue(CharSequence key,
CharSequence value) |
Set<Map.Entry<BasedSequence,Attribute>> |
entrySet() |
void |
forEach(BiConsumer<String,Attribute> action) |
Attribute |
get(CharSequence key) |
protected LinkedHashMap<String,Attribute> |
getAttributes() |
String |
getValue(CharSequence key) |
boolean |
isEmpty() |
Set<BasedSequence> |
keySet() |
Attribute |
remove(Attribute attribute) |
Attribute |
remove(CharSequence key) |
Attribute |
removeValue(Attribute attribute) |
Attribute |
removeValue(CharSequence key,
CharSequence value) |
Attribute |
replaceValue(Attribute attribute) |
Attribute |
replaceValue(CharSequence key,
CharSequence value) |
void |
replaceValues(Attributes attributes) |
int |
size() |
Collection<Attribute> |
values() |
public static final Attributes EMPTY
public Attributes()
public Attributes(Attributes attributes)
protected LinkedHashMap<String,Attribute> getAttributes()
public Attribute get(CharSequence key)
public String getValue(CharSequence key)
public Attribute replaceValue(CharSequence key, CharSequence value)
public Attributes addValues(Attributes attributes)
public Attribute addValue(CharSequence key, CharSequence value)
public Attribute removeValue(CharSequence key, CharSequence value)
public boolean contains(CharSequence key)
public boolean containsValue(CharSequence key, CharSequence value)
public boolean isEmpty()
public void clear()
public Set<BasedSequence> keySet()
public Collection<Attribute> values()
public Set<Map.Entry<BasedSequence,Attribute>> entrySet()
public void forEach(BiConsumer<String,Attribute> action)
public int size()
public Attribute remove(CharSequence key)
public void replaceValues(Attributes attributes)
Copyright © 2018. All rights reserved.