Package com.vladsch.flexmark.util.html
Class Attributes
- java.lang.Object
-
- com.vladsch.flexmark.util.html.Attributes
-
- Direct Known Subclasses:
MutableAttributes
public class Attributes extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkedHashMap<String,Attribute>attributesstatic AttributesEMPTY
-
Constructor Summary
Constructors Constructor Description Attributes()Attributes(Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(CharSequence key)booleancontainsValue(CharSequence key, CharSequence value)Set<Map.Entry<String,Attribute>>entrySet()voidforEach(BiConsumer<String,Attribute> action)Attributeget(CharSequence key)StringgetValue(CharSequence key)booleanisEmpty()Set<String>keySet()intsize()AttributestoImmutable()MutableAttributestoMutable()StringtoString()Collection<Attribute>values()
-
-
-
Field Detail
-
EMPTY
public static final Attributes EMPTY
-
attributes
protected LinkedHashMap<String,Attribute> attributes
-
-
Constructor Detail
-
Attributes
public Attributes()
-
Attributes
public Attributes(Attributes attributes)
-
-
Method Detail
-
toMutable
public MutableAttributes toMutable()
-
toImmutable
public Attributes toImmutable()
-
get
public Attribute get(CharSequence key)
-
getValue
public String getValue(CharSequence key)
-
contains
public boolean contains(CharSequence key)
-
containsValue
public boolean containsValue(CharSequence key, CharSequence value)
-
isEmpty
public boolean isEmpty()
-
values
public Collection<Attribute> values()
-
forEach
public void forEach(BiConsumer<String,Attribute> action)
-
size
public int size()
-
-