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>
attributes
static Attributes
EMPTY
-
Constructor Summary
Constructors Constructor Description Attributes()
Attributes(Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(CharSequence key)
boolean
containsValue(CharSequence key, CharSequence value)
Set<Map.Entry<String,Attribute>>
entrySet()
void
forEach(BiConsumer<String,Attribute> action)
Attribute
get(CharSequence key)
String
getValue(CharSequence key)
boolean
isEmpty()
Set<String>
keySet()
int
size()
Attributes
toImmutable()
MutableAttributes
toMutable()
String
toString()
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()
-
-