org.apache.axis.types

Class NormalizedString

Implemented Interfaces:
java.io.Serializable
Known Direct Subclasses:
Token

public class NormalizedString
extends Object
implements java.io.Serializable

Custom class for supporting XSD data type NormalizedString. normalizedString represents white space normalized strings. The base type of normalizedString is string.
Author:
Chris Haddad
See Also:
XML Schema Part 2: Datatypes 3.3.1, Serialized Form

Constructor Summary

NormalizedString()
NormalizedString(String stValue)
ctor for NormalizedString

Method Summary

boolean
equals(Object object)
int
hashCode()
static boolean
isValid(String stValue)
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
setValue(String stValue)
validates the data and sets the value for the object.
String
toString()

Constructor Details

NormalizedString

public NormalizedString()

NormalizedString

public NormalizedString(String stValue)
            throws IllegalArgumentException
ctor for NormalizedString
Parameters:
stValue - is the String value

Method Details

equals

public boolean equals(Object object)

hashCode

public int hashCode()

isValid

public static boolean isValid(String stValue)
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

setValue

public void setValue(String stValue)
            throws IllegalArgumentException
validates the data and sets the value for the object.
Parameters:
stValue - String value

toString

public String toString()

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.