Package org.apache.axis.types
Class NCName
- java.lang.Object
-
- org.apache.axis.types.NormalizedString
-
- org.apache.axis.types.Token
-
- org.apache.axis.types.Name
-
- org.apache.axis.types.NCName
-
- All Implemented Interfaces:
java.io.Serializable
public class NCName extends Name
Custom class for supporting XSD data type NCName NCName represents XML "non-colonized" Names The base type of NCName is Name.- Author:
- Chris Haddad
- See Also:
- XML Schema 3.3.7, NCName Production, Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isValid(java.lang.String stValue)
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extendervoid
setValue(java.lang.String stValue)
validates the data and sets the value for the object.-
Methods inherited from class org.apache.axis.types.NormalizedString
equals, hashCode, toString
-
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.String stValue) throws java.lang.IllegalArgumentException
validates the data and sets the value for the object.
-
isValid
public static boolean isValid(java.lang.String stValue)
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
-
-