Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class NormalizedString

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
      extended bycom.sssw.jbroker.web.xsd.NormalizedString
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Token

public class NormalizedString
extends Validator

A wrapper class that contains a normalizedString. 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
NormalizedString(String value)
          Construct a normalized string with the specified value.
 
Method Summary
 boolean equals(Object other)
           
 String getValue()
          Get the value of this normalized string.
 int hashCode()
           
 void setValue(String value)
          Set the value of this normalized string.
 String toString()
          Return string form of object
static void validate(Object object)
          Validate that a string is a proper XML Schema normalizedString.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NormalizedString

public NormalizedString(String value)
                 throws IllegalArgumentException
Construct a normalized string with the specified value.

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

getValue

public String getValue()
Get the value of this normalized string.

Returns:
the value of the string

setValue

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

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

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public String toString()
Return string form of object

Returns:
the value of the string

validate

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

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

Novell exteNd Web Services SDK API

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