public class JsonFormatValidator extends Object
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<JsonFormatValidator> |
__TYPE_ARG |
static JsonFormatValidator |
DEFAULT_VALIDATOR
The default validator which performs a NOOP.
|
Constructor and Description |
---|
JsonFormatValidator(JsonFormatValidator delegate) |
JsonFormatValidator(Object delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
JsonFormatValidator |
getDelegate() |
int |
hashCode() |
static JsonFormatValidator |
newInstance(JsonFormatValidator arg) |
String |
toString() |
String |
validateFormat(String instanceType,
String format,
Object instance) |
public static final io.vertx.lang.rx.TypeArg<JsonFormatValidator> __TYPE_ARG
public static final JsonFormatValidator DEFAULT_VALIDATOR
public JsonFormatValidator(JsonFormatValidator delegate)
public JsonFormatValidator(Object delegate)
public JsonFormatValidator getDelegate()
public String validateFormat(String instanceType, String format, Object instance)
instanceType
- The type of the related instanceformat
- The format specified in the schema for the current object instance.instance
- The current object instance that is currently being validated.public static JsonFormatValidator newInstance(JsonFormatValidator arg)
Copyright © 2024 Eclipse. All rights reserved.