public abstract class AbstractKeywordValidator extends java.lang.Object implements KeywordValidator
This class provides a template message for error reporting, with all details about the current validation context already filled.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
keyword |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKeywordValidator(java.lang.String keyword)
Protected constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected ProcessingMessage |
newMsg(FullData data) |
protected ProcessingMessage |
newMsg(FullData data,
MessageBundle bundle,
java.lang.String key) |
protected static <T> JsonNode |
toArrayNode(java.util.Collection<T> collection) |
abstract java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalidateprotected AbstractKeywordValidator(java.lang.String keyword)
keyword - the keyword's nameprotected final ProcessingMessage newMsg(FullData data)
protected final ProcessingMessage newMsg(FullData data, MessageBundle bundle, java.lang.String key)
protected static <T> JsonNode toArrayNode(java.util.Collection<T> collection)
public abstract java.lang.String toString()
toString in class java.lang.Object