public class NMTokens extends NCName
| Constructor and Description |
|---|
NMTokens() |
NMTokens(String stValue)
ctor for NMTokens
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
NMTokens can be equal without having identical ordering because
they represent a set of references.
|
int |
hashCode()
Returns the sum of the hashcodes of the underlying tokens, an
operation which is not sensitive to ordering.
|
void |
setValue(String stValue)
validates the data and sets the value for the object.
|
String |
toString() |
public NMTokens()
public NMTokens(String stValue) throws IllegalArgumentException
IllegalArgumentException - will be thrown if validation failspublic void setValue(String stValue)
NCNamepublic String toString()
toString in class NormalizedStringpublic boolean equals(Object object)
equals in class NormalizedStringobject - an Object valueboolean valuepublic int hashCode()
hashCode in class NormalizedStringint valueCopyright © The Apache Software Foundation. All Rights Reserved.