org.apache.axis.types

Class IDRefs

public class IDRefs extends NCName

Custom class for supporting XSD data type IDRefs

Author: Davanum Srinivas

See Also: XML Schema 3.3.10 IDREFS

Constructor Summary
IDRefs()
IDRefs(String stValue)
ctor for IDRefs
Method Summary
booleanequals(Object object)
IDREFs can be equal without having identical ordering because they represent a set of references.
inthashCode()
Returns the sum of the hashcodes of the underlying idrefs, an operation which is not sensitive to ordering.
voidsetValue(String stValue)
StringtoString()

Constructor Detail

IDRefs

public IDRefs()

IDRefs

public IDRefs(String stValue)
ctor for IDRefs

Throws: IllegalArgumentException will be thrown if validation fails

Method Detail

equals

public boolean equals(Object object)
IDREFs can be equal without having identical ordering because they represent a set of references. Hence we have to compare values here as a set, not a list.

Parameters: object an Object value

Returns: a boolean value

hashCode

public int hashCode()
Returns the sum of the hashcodes of the underlying idrefs, an operation which is not sensitive to ordering.

Returns: an int value

setValue

public void setValue(String stValue)

toString

public String toString()
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.