public class Name extends Token
Constructor and Description |
---|
Name() |
Name(java.lang.String stValue)
ctor for Name
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(java.lang.String stValue)
validate the value against the xsd definition
Name ::= (Letter | '_' | ':') ( NameChar)*
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
|
void |
setValue(java.lang.String stValue)
validates the data and sets the value for the object.
|
equals, hashCode, toString
public Name()
public Name(java.lang.String stValue) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- will be thrown if validation failspublic void setValue(java.lang.String stValue) throws java.lang.IllegalArgumentException
public static boolean isValid(java.lang.String stValue)
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.