public class DefaultSchemaValidator extends Object implements SchemaValidator
| Constructor and Description |
|---|
DefaultSchemaValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(Schema schema,
String path,
byte[] data,
List<org.apache.zookeeper.data.ACL> acl) |
public boolean isValid(Schema schema, String path, byte[] data, List<org.apache.zookeeper.data.ACL> acl)
isValid in interface SchemaValidatorschema - the schema being validatedpath - the path being operated ondata - data or nullacl - acls or nullCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.