-
- All Implemented Interfaces:
public interface SchemaMetadataRules
-
-
Method Summary
Modifier and Type Method Description abstract Validator<SchemaMetadata>validateSchemaLocation()Checks the location of a schema with its internal data. Validator<SchemaMetadata>getValidator(Boolean validateScopeSpecific)Validates any schema file. Validator<SchemaMetadata>schema(Validator<Schema> validator)Validates schemas without their metadata. Function1<SchemaMetadata, String>message(String text)abstract SchemaRulesgetSchemaRules()-
-
Method Detail
-
validateSchemaLocation
abstract Validator<SchemaMetadata> validateSchemaLocation()
Checks the location of a schema with its internal data.
-
getValidator
Validator<SchemaMetadata> getValidator(Boolean validateScopeSpecific)
Validates any schema file. It will choose the correct validation method based on the scope and type of the schema.
-
schema
Validator<SchemaMetadata> schema(Validator<Schema> validator)
Validates schemas without their metadata.
-
message
Function1<SchemaMetadata, String> message(String text)
-
getSchemaRules
abstract SchemaRules getSchemaRules()
-
-
-
-