Package org.apache.axis.types
Class NormalizedString
java.lang.Object
org.apache.axis.types.NormalizedString
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Token
Custom class for supporting XSD data type NormalizedString.
normalizedString represents white space normalized strings.
The base type of normalizedString is string.
- Author:
- Chris Haddad <chaddad@cobia.net>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static boolean
validate the value against the xsd definition for the object The value space of normalizedString is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters.void
validates the data and sets the value for the object.toString()
-
Constructor Details
-
NormalizedString
public NormalizedString() -
NormalizedString
ctor for NormalizedString- Parameters:
stValue
- is the String value- Throws:
IllegalArgumentException
- if invalid format
-
-
Method Details
-
setValue
validates the data and sets the value for the object.- Parameters:
stValue
- String value- Throws:
IllegalArgumentException
- if invalid format
-
toString
-
hashCode
public int hashCode() -
isValid
validate the value against the xsd definition for the object The value space of normalizedString is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters. The lexical space of normalizedString is the set of strings that do not contain the carriage return (#xD) nor tab (#x9) characters.- Parameters:
stValue
- the String to test
-
equals
-