org.jboss.axis.types
Class Id

java.lang.Object
  extended by org.jboss.axis.types.NormalizedString
      extended by org.jboss.axis.types.Token
          extended by org.jboss.axis.types.Name
              extended by org.jboss.axis.types.NCName
                  extended by org.jboss.axis.types.Id

public class Id
extends NCName

Custom class for supporting XSD data type ID The base type of Id is NCName.

Author:
Eddie Pick
See Also:
XML Schema 3.3.8

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

Same validation as NCName for the time being

 
Methods inherited from class org.jboss.axis.types.NormalizedString
equals, hashCode, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Id

public Id()

Id

public Id(String stValue)
   throws IllegalArgumentException
ctor for Id

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

isValid

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

Same validation as NCName for the time being

Overrides:
isValid in class NCName


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