org.apache.axis.types

Class NCName

Implemented Interfaces:
java.io.Serializable
Known Direct 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, Serialized Form

Constructor Summary

NCName()
NCName(String stValue)
ctor for NCName

Method Summary

static boolean
isValid(String stValue)
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
void
setValue(String stValue)
validates the data and sets the value for the object.

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

isValid, setValue

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

NCName

public NCName()


NCName

public NCName(String stValue)
            throws IllegalArgumentException
ctor for NCName

Method Details

isValid

public static boolean isValid(String stValue)
validate the value against the xsd definition NCName ::= (Letter | '_') (NCNameChar)* NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
Overrides:
isValid in interface Name


setValue

public void setValue(String stValue)
            throws IllegalArgumentException
validates the data and sets the value for the object.
Overrides:
setValue in interface Name

Parameters:
stValue - String value


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