public interface MutableAttribute extends Attribute, Mutable<MutableAttribute,Attribute>
CLASS_ATTR, ID_ATTR, LINK_STATUS_ATTR, NAME_ATTR, NO_FOLLOW, NON_RENDERING_WHEN_EMPTY, NUL, STYLE_ATTR, TARGET_ATTR, TITLE_ATTR| Modifier and Type | Method and Description |
|---|---|
boolean |
containsValue(CharSequence value)
See if the attribute contains the value (if attribute has list delimiter set) or is equal to the value if no list delimiter is set
|
MutableAttribute |
copy() |
MutableAttribute |
removeValue(CharSequence value)
Add a new value or values depending on list and name delimiter settings and value content.
|
MutableAttribute |
replaceValue(CharSequence value)
Replace the complete value of this attribute by a new value
|
MutableAttribute |
setValue(CharSequence value)
Add a new value or values depending on list and name delimiter settings and value content
If the attribute does not have a list delimiter then its value will be set
to the given value.
|
getName, getValue, getValueListDelimiter, getValueNameDelimiter, isNonRenderingtoImmutableMutableAttribute copy()
boolean containsValue(CharSequence value)
AttributecontainsValue in interface Attributevalue - name part of the attribute value list or the value if the attribute does not have a value list delimiterMutableAttribute replaceValue(CharSequence value)
AttributereplaceValue in interface Attributevalue - new valueMutableAttribute setValue(CharSequence value)
AttributeMutableAttribute removeValue(CharSequence value)
AttributeremoveValue in interface Attributevalue - value or list of values (if attribute has a list delimiter and name delimiter) to removeCopyright © 2018. All rights reserved.