public class NCName extends Name
| Constructor and Description |
|---|
NCName() |
NCName(java.lang.String stValue)
ctor for NCName
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(java.lang.String stValue)
validate the value against the xsd definition
NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
CombiningChar | Extender
|
void |
setValue(java.lang.String stValue)
validates the data and sets the value for the object.
|
equals, hashCode, toStringpublic NCName()
public NCName(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 © 2004-2020 The Apache Software Foundation. All Rights Reserved.