Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Validator> |
__TYPE_ARG |
Constructor and Description |
---|
Validator(Object delegate) |
Validator(Validator delegate) |
Modifier and Type | Method and Description |
---|---|
static Validator |
create(JsonSchema schema,
JsonSchemaOptions options)
Creates a new validator with some initial schema and options.
|
boolean |
equals(Object o) |
Validator |
getDelegate() |
int |
hashCode() |
static Validator |
newInstance(Validator arg) |
String |
toString() |
OutputUnit |
validate(Object instance)
Validate a given input against the initial schema
|
public static final io.vertx.lang.rx.TypeArg<Validator> __TYPE_ARG
public Validator(Validator delegate)
public Validator(Object delegate)
public Validator getDelegate()
public static Validator create(JsonSchema schema, JsonSchemaOptions options)
schema
- the initial schemaoptions
- the validator optionspublic OutputUnit validate(Object instance)
instance
- instance to validateCopyright © 2023 Eclipse. All rights reserved.