Package | Description |
---|---|
org.infinispan.schematic | |
org.infinispan.schematic.document | |
org.infinispan.schematic.internal.schema |
Modifier and Type | Method and Description |
---|---|
JsonSchema.Type |
SchemaLibrary.MismatchedTypeProblem.getActualType() |
JsonSchema.Type |
SchemaLibrary.MismatchedTypeProblem.getExpectedType() |
Modifier and Type | Method and Description |
---|---|
static JsonSchema.Type |
JsonSchema.Type.byName(String name)
Find the type enumeration literal given the (case-insensitive) name.
|
static JsonSchema.Type |
JsonSchema.Type.typeFor(Object value)
Determine the type for the given value.
|
static JsonSchema.Type |
JsonSchema.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonSchema.Type[] |
JsonSchema.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<JsonSchema.Type> |
JsonSchema.Type.typesWithNames(Object typeName)
Obtain the set of types given the supplied name or iterable container of names.
|
Modifier and Type | Method and Description |
---|---|
OutputType |
JsonSchema.ValueConverter.convert(Object value,
JsonSchema.Type type) |
String |
JsonSchema.StringConverter.convert(Object value,
JsonSchema.Type type) |
Number |
JsonSchema.NumberConverter.convert(Object value,
JsonSchema.Type type) |
Integer |
JsonSchema.IntegerConverter.convert(Object value,
JsonSchema.Type type) |
Boolean |
JsonSchema.BooleanConverter.convert(Object value,
JsonSchema.Type type) |
List<?> |
JsonSchema.ArrayConverter.convert(Object value,
JsonSchema.Type type) |
Object |
JsonSchema.ObjectConverter.convert(Object value,
JsonSchema.Type type) |
Object |
JsonSchema.NullConverter.convert(Object value,
JsonSchema.Type type) |
Object |
JsonSchema.UnionConverter.convert(Object value,
JsonSchema.Type type) |
Object |
JsonSchema.UnknownConverter.convert(Object value,
JsonSchema.Type type) |
Object |
JsonSchema.AnyConverter.convert(Object value,
JsonSchema.Type type) |
Object |
JsonSchema.Type.convertValueFrom(Object actualValue,
JsonSchema.Type actualType)
Attempt to convert the supplied value (with the given type) into a value compatible with this type.
|
boolean |
JsonSchema.Type.isEquivalent(JsonSchema.Type other)
Determine whether this type is equivalent to the supplied type.
|
Modifier and Type | Method and Description |
---|---|
JsonSchema.Type |
ValidationTypeMismatchProblem.getActualType() |
JsonSchema.Type |
ValidationTypeMismatchProblem.getExpectedType() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationResult.recordTypeMismatch(Path path,
String reason,
JsonSchema.Type actualType,
Object actualValue,
JsonSchema.Type requiredType,
Object convertedValue) |
void |
Problems.recordTypeMismatch(Path path,
String message,
JsonSchema.Type actualType,
Object actualValue,
JsonSchema.Type requiredType,
Object convertedValue)
Record a field value was encountered whose type was not the expected type but could be converted to the expected type.
|
void |
JsonSchemaValidatorFactory.SingleProblem.recordTypeMismatch(Path path,
String message,
JsonSchema.Type actualType,
Object actualValue,
JsonSchema.Type requiredType,
Object convertedValue) |
Constructor and Description |
---|
JsonSchemaValidatorFactory.TypeValidator(JsonSchema.Type type) |
ValidationTypeMismatchProblem(SchemaLibrary.ProblemType type,
Path path,
Object actualValue,
JsonSchema.Type actualType,
JsonSchema.Type expectedType,
Object convertedValue,
String reason,
Throwable cause) |
Constructor and Description |
---|
JsonSchemaValidatorFactory.DisallowedTypesValidator(String propertyName,
EnumSet<JsonSchema.Type> disallowedTypes) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.