org.apache.axis.types
Class NormalizedString

java.lang.Object
  |
  +--org.apache.axis.types.NormalizedString
Direct Known Subclasses:
Token

public class NormalizedString
extends java.lang.Object

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

Constructor Summary
NormalizedString()
           
NormalizedString(java.lang.String stValue)
          ctor for NormalizedString NOTE: null will be returned if validation fails
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 boolean isValid(java.lang.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(java.lang.String stValue)
          validates the data and sets the value for the object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NormalizedString

public NormalizedString()

NormalizedString

public NormalizedString(java.lang.String stValue)
                 throws java.lang.Exception
ctor for NormalizedString NOTE: null will be returned if validation fails
Method Detail

setValue

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isValid

public boolean isValid(java.lang.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:
the - String to test

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2002 Apache XML Project. All Rights Reserved.