com.sun.xml.bind.v2.model.nav
Class TypeVisitor<T,P>

java.lang.Object
  extended by com.sun.xml.bind.v2.model.nav.TypeVisitor<T,P>

abstract class TypeVisitor<T,P>
extends Object


Constructor Summary
TypeVisitor()
           
 
Method Summary
protected abstract  T onClass(Class c, P param)
           
protected abstract  T onGenericArray(GenericArrayType g, P param)
           
protected abstract  T onParameterizdType(ParameterizedType p, P param)
           
protected abstract  T onVariable(TypeVariable v, P param)
           
protected abstract  T onWildcard(WildcardType w, P param)
           
 T visit(Type t, P param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeVisitor

TypeVisitor()
Method Detail

visit

public final T visit(Type t,
                     P param)

onClass

protected abstract T onClass(Class c,
                             P param)

onParameterizdType

protected abstract T onParameterizdType(ParameterizedType p,
                                        P param)

onGenericArray

protected abstract T onGenericArray(GenericArrayType g,
                                    P param)

onVariable

protected abstract T onVariable(TypeVariable v,
                                P param)

onWildcard

protected abstract T onWildcard(WildcardType w,
                                P param)