Interface SchemaValidator

All Known Implementing Classes:
DefaultSchemaValidator, ModelSpecImpl

public interface SchemaValidator
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValid(Schema schema, String path, byte[] data, List<org.apache.zookeeper.data.ACL> acl)
     
  • Method Details

    • isValid

      boolean isValid(Schema schema, String path, byte[] data, List<org.apache.zookeeper.data.ACL> acl)
      Parameters:
      schema - the schema being validated
      path - the path being operated on
      data - data or null
      acl - acls or null
      Returns:
      true if valid