org.jboss.axis.types
Class NCName
java.lang.Object
org.jboss.axis.types.NormalizedString
org.jboss.axis.types.Token
org.jboss.axis.types.Name
org.jboss.axis.types.NCName
- Direct Known Subclasses:
- Entities, Entity, Id, IDRef, IDRefs, NMTokens
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
Method Summary |
boolean |
isValid(String stValue)
validate the value against the xsd definition
NCName ::= (Letter | '_') (NCNameChar)*
NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender |
NCName
public NCName()
NCName
public NCName(String stValue)
throws IllegalArgumentException
- ctor for NCName
- Throws:
IllegalArgumentException
- will be thrown if validation fails
isValid
public boolean isValid(String stValue)
- validate the value against the xsd definition
NCName ::= (Letter | '_') (NCNameChar)*
NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
- Overrides:
isValid
in class Name
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.