public class Attributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static Attributes |
EMPTY |
| Constructor and Description |
|---|
Attributes() |
Attributes(Attributes attributes) |
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)
key - attribute namevalue - new valuepublic 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 Collection<Attribute> values()
public void forEach(BiConsumer<String,Attribute> action)
public int size()
public Attribute remove(CharSequence key)
public void replaceValues(Attributes attributes)
Copyright © 2019. All rights reserved.