| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final char | |
| private final char |
| Access | Constructor and Description |
|---|---|
| private | AttributeImpl(CharSequence name, CharSequence value, char valueListDelimiter, char valueNameDelimiter)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | containsValue(CharSequence
name part of the attribute value list or the value if the attribute does not have a value list delimiter value)Implements com. 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 |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public char | |
| public char | |
| public int | |
| public static int | indexOfValue(CharSequence value, CharSequence valueName, char valueListDelimiter, char valueNameDelimiter)
|
| public boolean | |
| public static AttributeImpl | |
| public static AttributeImpl | |
| public static AttributeImpl | |
| public static AttributeImpl | |
| public static AttributeImpl | |
| public Attribute | removeValue(CharSequence
value or list of values (if attribute has a list delimiter and name delimiter) to remove value)Implements com. Add a new value or values depending on list and name delimiter settings and value content. |
| public Attribute | replaceValue(CharSequence
new value value)Implements com. Replace the complete value of this attribute by a new value |
| public Attribute | setValue(CharSequence
value or list of values (if attribute has a list delimiter and name delimiter) to change value)Implements com. 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. |
| public MutableAttribute | |
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| value | back to summary |
|---|---|
| private final String value | |
| valueListDelimiter | back to summary |
|---|---|
| private final char valueListDelimiter | |
| valueNameDelimiter | back to summary |
|---|---|
| private final char valueNameDelimiter | |
| AttributeImpl | back to summary |
|---|---|
| private AttributeImpl(CharSequence name, CharSequence value, char valueListDelimiter, char valueNameDelimiter) | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(CharSequence value) Implements com. Doc from com. 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
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getName | back to summary |
|---|---|
| public String getName() Implements com.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements com.
| |
| getValueListDelimiter | back to summary |
|---|---|
| public char getValueListDelimiter() Implements com.
| |
| getValueNameDelimiter | back to summary |
|---|---|
| public char getValueNameDelimiter() Implements com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| indexOfValue | back to summary |
|---|---|
public static int indexOfValue(CharSequence value, CharSequence valueName, char valueListDelimiter, char valueNameDelimiter)
| |
| isNonRendering | back to summary |
|---|---|
| public boolean isNonRendering() Implements com.
| |
| of | back to summary |
|---|---|
| public static AttributeImpl of(Attribute other) | |
| of | back to summary |
|---|---|
| public static AttributeImpl of(CharSequence attrName) | |
| of | back to summary |
|---|---|
| public static AttributeImpl of(CharSequence attrName, CharSequence value) | |
| of | back to summary |
|---|---|
| public static AttributeImpl of(CharSequence attrName, CharSequence value, char valueListDelimiter) | |
| of | back to summary |
|---|---|
| public static AttributeImpl of(CharSequence attrName, CharSequence value, char valueListDelimiter, char valueNameDelimiter) | |
| removeValue | back to summary |
|---|---|
| public Attribute removeValue(CharSequence value) Implements com. Doc from com. 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 and its value is equal to the given value then its value is set to empty If the attribute has a list delimiter but not name delimiter then value will be split by list delimiter and any values in attribute's value list will be removed If the attribute has a list delimiter and a name delimiter then value will be split by list delimiter and only the name portion of each value will be used for removal from the attribute's value list
| |
| replaceValue | back to summary |
|---|---|
| public Attribute replaceValue(CharSequence value) Implements com. Doc from com. Replace the complete value of this attribute by a new value
| |
| setValue | back to summary |
|---|---|
| public Attribute setValue(CharSequence value) Implements com. Doc from com. 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. If the attribute has a list delimiter but not name delimiter then value will be split by list delimiter and all values will be added to the attribute's value list. New ones added at the end, old ones left as is. If the attribute has a list delimiter and a name delimiter then value will be split by list delimiter and the name portion of each value will be used to find duplicates whose value will be replaced. New ones added at the end, old ones left where they are but with a new value.
| |
| toMutable | back to summary |
|---|---|
| public MutableAttribute toMutable() Implements com.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |