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:
Serializable
Custom class for supporting XSD data type NCName
NCName represents XML "non-colonized" Names
The base type of NCName is Name.
- Author:
- Chris Haddad invalid input: '<'chaddad@cobia.net>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extendervoid
validates the data and sets the value for the object.Methods inherited from class org.apache.axis.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:
setValue
in 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
-