public interface EntitiesValidator
Modifier and Type | Method and Description |
---|---|
static EntitiesValidator |
create(com.marklogic.client.DatabaseClient client)
Creates and returns a an EntityValidator object
|
com.fasterxml.jackson.databind.JsonNode |
validate(java.lang.String entity,
java.lang.String flow,
java.lang.String plugin,
java.lang.String type,
java.lang.String content)
Creates and returns a an EntityValidator object
|
com.fasterxml.jackson.databind.JsonNode |
validateAll()
Validates all entities
|
static EntitiesValidator create(com.marklogic.client.DatabaseClient client)
client
- - DatabaseClient to be used to obtain the informationcom.fasterxml.jackson.databind.JsonNode validateAll()
com.fasterxml.jackson.databind.JsonNode validate(java.lang.String entity, java.lang.String flow, java.lang.String plugin, java.lang.String type, java.lang.String content)
entity
- - name of the entity you are attempting to validateflow
- - name of the flow you want to useplugin
- - which plugin (triples/headers/etc) without extensiontype
- - xquery or javascriptcontent
- - the content to validate against