站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

Name (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.types
Class Name

java.lang.Object
  extended byorg.apache.axis.types.NormalizedString
      extended byorg.apache.axis.types.Token
          extended byorg.apache.axis.types.Name
All Implemented Interfaces:
Serializable
Direct Known 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
 boolean isValid(String stValue)
          validate the value against the xsd definition Name ::= (Letter | '_' | ':') ( NameChar)* NameChar ::= 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

Name

public Name()

Name

public Name(String stValue)
     throws IllegalArgumentException
ctor for Name

Throws:
IllegalArgumentException - will be thrown if validation fails
Method Detail

isValid

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

Overrides:
isValid in class Token


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.