public class PreInputValidater
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
PreInputValidater.InputElementValidater |
static class |
PreInputValidater.PreInputValidateFailedException |
Constructor and Description |
---|
PreInputValidater() |
Modifier and Type | Method and Description |
---|---|
PreInputValidater |
addValidaterByName(java.lang.String name, PreInputValidater.InputElementValidater validater) |
PreInputValidater |
addValidaterByType(java.lang.Class clz, PreInputValidater.InputElementValidater validater) |
protected boolean |
check(java.lang.Class clz, java.lang.String value) |
void |
check(java.util.Map<java.lang.String,java.lang.Class> pTypeMap, java.util.Map<java.lang.String,java.lang.String> valueMap) |
public void check(java.util.Map<java.lang.String,java.lang.Class> pTypeMap, java.util.Map<java.lang.String,java.lang.String> valueMap) throws PreInputValidater.PreInputValidateFailedException
public PreInputValidater addValidaterByType(java.lang.Class clz, PreInputValidater.InputElementValidater validater)
public PreInputValidater addValidaterByName(java.lang.String name, PreInputValidater.InputElementValidater validater)
protected boolean check(java.lang.Class clz, java.lang.String value)