Class 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.
Author:
Chris Haddad <chaddad@cobia.net>
See Also:
  • Constructor Details

  • Method Details

    • isValid

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