org.json.rpc.commons
Class TypeChecker

java.lang.Object
  extended by org.json.rpc.commons.TypeChecker
Direct Known Subclasses:
AllowAllTypeChecker, GsonTypeChecker

public abstract class TypeChecker
extends Object


Constructor Summary
TypeChecker()
           
 
Method Summary
abstract  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)
           
abstract  boolean isValidType(Class<?> clazz, boolean throwException)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeChecker

public TypeChecker()
Method Detail

isValidType

public boolean isValidType(Class<?> clazz)

isValidType

public abstract boolean isValidType(Class<?> clazz,
                                    boolean throwException)

getTypeName

public abstract String getTypeName(Class<?> clazz)

isValidMethod

public boolean isValidMethod(Method method)

isValidInterface

public boolean isValidInterface(Class<?> clazz)

isValidMethod

public boolean isValidMethod(Method method,
                             boolean throwException)

isValidInterface

public boolean isValidInterface(Class<?> clazz,
                                boolean throwException)


Copyright © 2011 DevelNix. All Rights Reserved.