public class NormalizedString extends Object implements Serializable
Constructor and Description |
---|
NormalizedString() |
NormalizedString(String stValue)
ctor for NormalizedString
|
Modifier and Type | Method and Description |
---|---|
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() |
public NormalizedString()
public NormalizedString(String stValue) throws IllegalArgumentException
stValue
- is the String valueIllegalArgumentException
- if invalid formatpublic void setValue(String stValue) throws IllegalArgumentException
stValue
- String valueIllegalArgumentException
- if invalid formatpublic static boolean isValid(String stValue)
stValue
- the String to testCopyright © The Apache Software Foundation. All Rights Reserved.