Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class Validator

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AnyURI, Date, Duration, ENTITIES, GDay, GMonth, GMonthDay, GYear, GYearMonth, IDREFS, NegativeInteger, NMTOKENS, NonNegativeInteger, NonPositiveInteger, NormalizedString, Time, UnsignedByte, UnsignedInt, UnsignedLong, UnsignedShort

public abstract class Validator
extends Object
implements Serializable

Classes that implement the Validator interface are capable of validating their value against some externally defined specification. As an example, built-in and generated schema types can validate against their XML Schema definition.

Since:
jBroker Web 2.0
See Also:
Serialized Form

Constructor Summary
Validator()
           
 
Method Summary
static void validate(Object object)
          Validate that an object is a valid value for some schema type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validator

public Validator()
Method Detail

validate

public static void validate(Object object)
                     throws IllegalArgumentException
Validate that an object is a valid value for some schema type.

Parameters:
object - the object to validate
Throws:
IllegalArgumentException - if the value can not be validated against the schema definition

Novell exteNd Web Services SDK API

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