public class NMTokens extends NCName
| Constructor and Description |
|---|
NMTokens() |
NMTokens(java.lang.String stValue)
ctor for NMTokens
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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(java.lang.String stValue)
validates the data and sets the value for the object.
|
java.lang.String |
toString() |
public NMTokens()
public NMTokens(java.lang.String stValue)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - will be thrown if validation failspublic void setValue(java.lang.String stValue)
NCNamepublic java.lang.String toString()
toString in class NormalizedStringpublic boolean equals(java.lang.Object object)
equals in class NormalizedStringobject - an Object valueboolean valuepublic int hashCode()
hashCode in class NormalizedStringint valueCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.