public interface Attribute
Modifier and Type | Method and Description |
---|---|
void |
addValue(String value) |
void |
addValues(Set<String> values) |
void |
addValues(String[] values) |
void |
clear() |
String |
getName()
Get the name of this attribute.
|
String |
getValue()
Get the first value from the Set of attribute values, or null if the attribute has no values.
|
int |
getValueCount()
Get a count of the number of values this attribute has (0-n).
|
Set<String> |
getValues()
Get the Set of values for this attribute.
|
String[] |
getValuesAsArray()
Return the attributes values as a String array.
|
void |
removeValue(String value) |
void |
removeValues(Set<String> values) |
void |
removeValues(String[] values) |
String getName()
int getValueCount()
String getValue()
Set<String> getValues()
String[] getValuesAsArray()
void addValue(String value)
void addValues(String[] values)
void removeValue(String value)
void removeValues(String[] values)
void clear()
Copyright © 2019. All rights reserved.