org.jboss.axis.types
Class NMTokens

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.NMTokens

public class NMTokens
extends NCName

Custom class for supporting XSD data type NMTokens

Author:
Davanum Srinivas

Constructor Summary
NMTokens()
           
NMTokens(String stValue)
          ctor for NMTokens
 
Method Summary
 boolean equals(Object object)
           
 void setValue(String stValue)
          validates the data and sets the value for the object.
 String toString()
           
 
Methods inherited from class org.jboss.axis.types.NCName
isValid
 
Methods inherited from class org.jboss.axis.types.NormalizedString
hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NMTokens

public NMTokens()

NMTokens

public NMTokens(String stValue)
         throws IllegalArgumentException
ctor for NMTokens

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

setValue

public void setValue(String stValue)
Description copied from class: NormalizedString
validates the data and sets the value for the object.

Overrides:
setValue in class NormalizedString

toString

public String toString()
Overrides:
toString in class NormalizedString

equals

public boolean equals(Object object)
Overrides:
equals in class NormalizedString


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