Interface SchemaValidator
-
- All Known Implementing Classes:
DefaultSchemaValidator
public interface SchemaValidator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValid(Schema schema, java.lang.String path, byte[] data, java.util.List<org.apache.zookeeper.data.ACL> acl)
-
-
-
Method Detail
-
isValid
boolean isValid(Schema schema, java.lang.String path, byte[] data, java.util.List<org.apache.zookeeper.data.ACL> acl)
- Parameters:
schema- the schema being validatedpath- the path being operated ondata- data or nullacl- acls or null- Returns:
- true if valid
-
-