org.apache.axis.types
Class NCName

java.lang.Object
  |
  +--org.apache.axis.types.NormalizedString
        |
        +--org.apache.axis.types.Token
              |
              +--org.apache.axis.types.Name
                    |
                    +--org.apache.axis.types.NCName

public class NCName
extends Name

Custom class for supporting XSD data type NCName NCName represents XML "non-colonized" Names The base type of NCName is Name.

Author:
Chris Haddad
See Also:
XML Schema 3.3.7, NCName Production

Constructor Summary
NCName()
           
NCName(java.lang.String stValue)
          ctor for NCName
 
Method Summary
 boolean isValid(java.lang.String stValue)
          validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
 
Methods inherited from class org.apache.axis.types.NormalizedString
equals, hashCode, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NCName

public NCName()

NCName

public NCName(java.lang.String stValue)
       throws java.lang.Exception
ctor for NCName
Throws:
java.lang.Exception - will be thrown if validation fails
Method Detail

isValid

public boolean isValid(java.lang.String stValue)
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
Overrides:
isValid in class Name
Following copied from class: org.apache.axis.types.NormalizedString
Parameters:
the - String to test


Copyright © 2002 Apache XML Project. All Rights Reserved.