All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itranswarp.jsonstream.validator.Validator Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.itranswarp.jsonstream.validator;

/**
 * Validate property values.
 * 
 * @author Michael Liao
 */
public interface Validator {

    /**
     * Validate a property value. Throws ValidateException If validation failed.
     * 
     * @param propValue The property value.
     * @param path The path of the JSON document. e.g. "Group.Users[0].Address".
     * @param name The property name of the JSON document. e.g. "zipcode".
     */
	void validate(T propValue, String path, String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy