public class IDRefs extends NCName
| Constructor and Description |
|---|
IDRefs() |
IDRefs(String stValue)
ctor for IDRefs
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
IDREFs 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 idrefs, 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 IDRefs()
public IDRefs(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.