org.json.rpc.commons
Class AllowAllTypeChecker

java.lang.Object
  extended by org.json.rpc.commons.TypeChecker
      extended by org.json.rpc.commons.AllowAllTypeChecker

public class AllowAllTypeChecker
extends TypeChecker


Constructor Summary
AllowAllTypeChecker()
           
 
Method Summary
 String getTypeName(Class<?> clazz)
           
 boolean isValidInterface(Class<?> clazz)
           
 boolean isValidInterface(Class<?> clazz, boolean throwException)
           
 boolean isValidMethod(Method method)
           
 boolean isValidMethod(Method method, boolean throwException)
           
 boolean isValidType(Class<?> clazz)
           
 boolean isValidType(Class<?> clazz, boolean throwException)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowAllTypeChecker

public AllowAllTypeChecker()
Method Detail

isValidType

public boolean isValidType(Class<?> clazz)
Overrides:
isValidType in class TypeChecker

isValidType

public boolean isValidType(Class<?> clazz,
                           boolean throwException)
Specified by:
isValidType in class TypeChecker

getTypeName

public String getTypeName(Class<?> clazz)
Specified by:
getTypeName in class TypeChecker

isValidMethod

public boolean isValidMethod(Method method)
Overrides:
isValidMethod in class TypeChecker

isValidInterface

public boolean isValidInterface(Class<?> clazz)
Overrides:
isValidInterface in class TypeChecker

isValidMethod

public boolean isValidMethod(Method method,
                             boolean throwException)
Overrides:
isValidMethod in class TypeChecker

isValidInterface

public boolean isValidInterface(Class<?> clazz,
                                boolean throwException)
Overrides:
isValidInterface in class TypeChecker


Copyright © 2011 DevelNix. All Rights Reserved.