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

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


org.apache.axis.types
Class Language

java.lang.Object
  extended byorg.apache.axis.types.NormalizedString
      extended byorg.apache.axis.types.Token
          extended byorg.apache.axis.types.Language
All Implemented Interfaces:
Serializable

public class Language
extends Token

Custom class for supporting XSD data type language language represents natural language identifiers as defined by [RFC 1766]. The value space of language is the set of all strings that are valid language identifiers as defined in the language identification section of [XML 1.0 (Second Edition)]. The lexical space of language is the set of all strings that are valid language identifiers as defined in the language identification section of [XML 1.0 (Second Edition)]. The base type of language is token.

Author:
Eddie Pick
See Also:
XML Schema 3.3.3, Serialized Form

Constructor Summary
Language()
           
Language(String stValue)
          ctor for Language
 
Method Summary
 boolean isValid(String stValue)
          validate the value against the xsd definition TODO
 
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

Language

public Language()

Language

public Language(String stValue)
         throws IllegalArgumentException
ctor for Language

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

isValid

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

Overrides:
isValid in class Token
See Also:
RFC1766 Language-Tag = Primary-tag *( "-" Subtag ) Primary-tag = 1*8ALPHA Subtag = 1*8ALPHA


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