Class NormalizedString

java.lang.Object
org.apache.axis.types.NormalizedString
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Token

public class NormalizedString extends Object implements 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 invalid input: '<'chaddad@cobia.net>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ctor for NormalizedString
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
     
    int
     
    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.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • setValue

      public void setValue(String stValue) throws IllegalArgumentException
      validates the data and sets the value for the object.
      Parameters:
      stValue - String value
      Throws:
      IllegalArgumentException - if invalid format
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object