org.apache.axis2.databinding.types
Class NMToken
java.lang.Object
org.apache.axis2.databinding.types.NormalizedString
org.apache.axis2.databinding.types.Token
org.apache.axis2.databinding.types.NMToken
- All Implemented Interfaces:
- Serializable
public class NMToken
- extends Token
Custom class for supporting XSD data type NMToken
NMTOKEN represents the NMTOKEN attribute type from [XML 1.0(Second Edition)]. The value space of
NMTOKEN is the set of tokens that match the Nmtoken production in [XML 1.0 (Second Edition)]. The
base type of NMTOKEN is token.
- See Also:
- XML Schema 3.3.4,
Serialized Form
Method Summary |
static boolean |
isValid(String stValue)
validate the value against the xsd definition Nmtoken ::= (NameChar)+ NameChar ::=
Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender |
Methods inherited from class org.apache.axis2.databinding.types.Token |
setValue |
NMToken
public NMToken()
NMToken
public NMToken(String stValue)
throws IllegalArgumentException
- ctor for NMToken
- Throws:
IllegalArgumentException
- will be thrown if validation fails
isValid
public static boolean isValid(String stValue)
- validate the value against the xsd definition Nmtoken ::= (NameChar)+ NameChar ::=
Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.