Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class NMTOKENS

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
      extended bycom.sssw.jbroker.web.xsd.NMTOKENS
All Implemented Interfaces:
Serializable

public class NMTOKENS
extends Validator

A wrapper class that contains a NMTOKENS. Please refer to the XML Schema for the complete definition of this simple type.

Since:
jBroker Web 2.0
See Also:
Serialized Form

Constructor Summary
NMTOKENS(String value)
          Construct a NMTOKENS with the specified value.
 
Method Summary
 boolean equals(Object other)
           
 String getValue()
          Get the value of this NMTOKENS.
 int hashCode()
           
 void setValue(String value)
          Set the value of this NMTOKENS.
 String toString()
           
static void validate(Object object)
          Validate that a NMTOKENS is a proper XML Schema NMTOKENS.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NMTOKENS

public NMTOKENS(String value)
         throws IllegalArgumentException
Construct a NMTOKENS with the specified value.

Parameters:
value - the value of the NMTOKENS
Throws:
IllegalArgumentException - if the value can not be validated as a NMTOKENS.
Method Detail

getValue

public String getValue()
Get the value of this NMTOKENS.

Returns:
the value of the NMTOKENS

setValue

public void setValue(String value)
              throws IllegalArgumentException
Set the value of this NMTOKENS.

Parameters:
value - the value of the NMTOKENS
Throws:
IllegalArgumentException - if the value can not be validated as a NMTOKENS.

equals

public boolean equals(Object other)

hashCode

public int hashCode()

validate

public static void validate(Object object)
                     throws IllegalArgumentException
Validate that a NMTOKENS is a proper XML Schema NMTOKENS.

Throws:
IllegalArgumentException - if the value can not be validated as a NMTOKENS.

toString

public String toString()

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.