Package org.apache.axis.types
Class Name
java.lang.Object
org.apache.axis.types.NormalizedString
org.apache.axis.types.Token
org.apache.axis.types.Name
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NCName
Custom class for supporting XSD data type Name
Name represents XML Names. The value space of Name is
the set of all strings which match the Name production
of [XML 1.0 (Second Edition)].
The base type of Name is token.
- 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 Name ::= (Letter | '_' | ':') ( NameChar)* NameChar ::= 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
-
Name
public Name() -
Name
ctor for Name- Throws:
IllegalArgumentException
- will be thrown if validation fails
-
-
Method Details
-
setValue
validates the data and sets the value for the object.- Overrides:
setValue
in classToken
- Parameters:
stValue
- String value- Throws:
IllegalArgumentException
- if invalid format
-
isValid
validate the value against the xsd definition Name ::= (Letter | '_' | ':') ( NameChar)* NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
-