org.apache.axis.types
public class Name extends Token
See Also: XML Schema 3.3.6
Constructor Summary | |
---|---|
Name() | |
Name(String stValue)
ctor for Name |
Method Summary | |
---|---|
static boolean | isValid(String stValue)
validate the value against the xsd definition
Name ::= (Letter | '_' | ':') ( NameChar)*
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender |
void | setValue(String stValue)
validates the data and sets the value for the object. |
Throws: IllegalArgumentException will be thrown if validation fails
Parameters: stValue String value
Throws: IllegalArgumentException if invalid format