Class NormalizedString
- java.lang.Object
-
- org.apache.axis2.databinding.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.
-
-
Constructor Summary
Constructors Constructor Description NormalizedString()
NormalizedString(String stValue)
ctor for NormalizedString
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
hashCode()
static boolean
isValid(String stValue)
validate the value against the xsd definition for the objectvoid
setValue(String stValue)
validates the data and sets the value for the object.String
toString()
-
-
-
Constructor Detail
-
NormalizedString
public NormalizedString()
-
NormalizedString
public NormalizedString(String stValue) throws IllegalArgumentException
ctor for NormalizedString- Parameters:
stValue
- is the String value- Throws:
IllegalArgumentException
- if invalid format
-
-
Method Detail
-
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
-
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- Returns:
- Returns true if valid normalizedString.
-
-