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

Token (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.types
Class Token

java.lang.Object
  extended byorg.apache.axis.types.NormalizedString
      extended byorg.apache.axis.types.Token
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Language, Name, NMToken

public class Token
extends NormalizedString

Custom class for supporting primitive XSD data type Token. token represents tokenized strings. The base type of token is normalizedString.

Author:
Chris Haddad
See Also:
XML Schema 3.3.2, Serialized Form

Constructor Summary
Token()
           
Token(String stValue)
          ctor for Token
 
Method Summary
 boolean isValid(String stValue)
          validate the value against the xsd definition

The value space of token is the set of strings that do not contain the line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces.

 
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

Token

public Token()

Token

public Token(String stValue)
      throws IllegalArgumentException
ctor for Token

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

isValid

public boolean isValid(String stValue)
validate the value against the xsd definition

The value space of token is the set of strings that do not contain the line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces. The lexical space of token is the set of strings that do not contain the line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces.

Overrides:
isValid in class NormalizedString


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