public abstract class Predicate extends Object implements Validator
| Modifier | Constructor and Description |
|---|---|
protected |
Predicate(String aName,
JSONObject aRule) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fail(JSONValue aValue) |
protected void |
fail(String aMessage,
JSONValue aValue) |
String |
getName() |
JSONObject |
getRule() |
protected Predicate(String aName, JSONObject aRule)
protected void fail(JSONValue aValue) throws ValidationException
ValidationExceptionprotected void fail(String aMessage, JSONValue aValue) throws ValidationException
ValidationExceptionpublic String getName()
public JSONObject getRule()
Copyright © 2013. All Rights Reserved.