org.apache.axis.types

Class NMToken

Implemented Interfaces:
java.io.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.
Author:
Chris Haddad
See Also:
XML Schema 3.3.4, Serialized Form

Constructor Summary

NMToken()
NMToken(String stValue)
ctor for NMToken

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.axis.types.Token

isValid, setValue

Methods inherited from class org.apache.axis.types.NormalizedString

equals, hashCode, isValid, setValue, toString

Constructor Details

NMToken

public NMToken()

NMToken

public NMToken(String stValue)
            throws IllegalArgumentException
ctor for NMToken

Method Details

isValid

public static boolean isValid(String stValue)
validate the value against the xsd definition Nmtoken ::= (NameChar)+ NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
Overrides:
isValid in interface Token

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.