Class NCName
java.lang.Object
org.apache.axis2.databinding.types.NormalizedString
org.apache.axis2.databinding.types.Token
org.apache.axis2.databinding.types.Name
org.apache.axis2.databinding.types.NCName
- All Implemented Interfaces:
Serializable
Custom class for supporting XSD data type NCName NCName represents XML "non-colonized" Names The
base type of NCName is Name.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.axis2.databinding.types.NormalizedString
equals, hashCode, toString
-
Constructor Details
-
NCName
public NCName() -
NCName
ctor for NCName- Throws:
IllegalArgumentException- will be thrown if validation fails
-
-
Method Details
-
setValue
validates the data and sets the value for the object.- Overrides:
setValuein className- Parameters:
stValue- String value- Throws:
IllegalArgumentException- if invalid format
-
isValid
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
-