Interface IBindingContext.IValidationSchemaProvider
-
- Enclosing interface:
- IBindingContext
public static interface IBindingContext.IValidationSchemaProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.json.JSONObject
getJsonSchema()
Get a JSON schema to use for content validation.List<Source>
getXmlSchemas()
Get a XML schema to use for content validation.
-
-
-
Method Detail
-
getJsonSchema
@NonNull org.json.JSONObject getJsonSchema() throws IOException
Get a JSON schema to use for content validation.- Returns:
- the JSON schema
- Throws:
IOException
- if an error occurred while loading the schema
-
getXmlSchemas
@NonNull List<Source> getXmlSchemas() throws IOException
Get a XML schema to use for content validation.- Returns:
- the XML schema sources
- Throws:
IOException
- if an error occurred while loading the schema
-
-