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)
NCName
public String toString()
toString
in class NormalizedString
public boolean equals(Object object)
equals
in class NormalizedString
object
- an Object
valueboolean
valuepublic int hashCode()
hashCode
in class NormalizedString
int
valueCopyright © The Apache Software Foundation. All Rights Reserved.