org.apache.axis.types
public class NCName extends Name
See Also: XML Schema 3.3.7 NCName Production
| Constructor Summary | |
|---|---|
| NCName() | |
| NCName(String stValue)
ctor for NCName | |
| Method Summary | |
|---|---|
| static boolean | isValid(String stValue)
validate the value against the xsd definition
NCName ::= (Letter | '_') (NCNameChar)*
NCNameChar ::= 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