org.apache.axis.types

Class Name

Implemented Interfaces:
java.io.Serializable
Known Direct Subclasses:
NCName

public class Name
extends Token

Custom class for supporting XSD data type Name Name represents XML Names. The value space of Name is the set of all strings which match the Name production of [XML 1.0 (Second Edition)]. The base type of Name is token.
Author:
Chris Haddad
See Also:
XML Schema 3.3.6, Serialized Form

Constructor Summary

Name()
Name(String stValue)
ctor for Name

Method Summary

static boolean
isValid(String stValue)
validate the value against the xsd definition Name ::= (Letter | '_' | ':') ( NameChar)* NameChar ::= 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.Token

isValid, setValue

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

equals, hashCode, isValid, setValue, toString

Constructor Details

Name

public Name()

Name

public Name(String stValue)
            throws IllegalArgumentException
ctor for Name

Method Details

isValid

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

setValue

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

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