com.sssw.jbroker.web.xsd
Class Validator
java.lang.Object
com.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
Method Summary |
static void |
validate(Object object)
Validate that an object is a valid value for some schema type. |
Validator
public Validator()
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
exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.