Class Name
java.lang.Object
org.apache.axis2.databinding.types.NormalizedString
org.apache.axis2.databinding.types.Token
org.apache.axis2.databinding.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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanvalidate the value against the xsd definition Name ::= (Letter | '_' | ':') ( NameChar)* NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extendervoidvalidates the data and sets the value for the object.Methods inherited from class org.apache.axis2.databinding.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:
setValuein 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
-