Top Description Fields Constructors Methods
com.sun.tools.xjc.model.nav

public final Class NavigatorImpl

extends Object
implements Navigator<NType, NClass, Void, Void>
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.nav.Navigator
Imports
java.lang.reflect.Type, java.util.Collection, com.sun.codemodel.JClass, org.glassfish.jaxb.core.v2.model.nav.Navigator, org.glassfish.jaxb.core.v2.runtime.Location

Navigator implementation for XJC. Most of the Navigator methods are used for parsing the model, which doesn't happen in XJC. So Most of the methods aren't really implemented. Implementations should be filled in as needed.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public static final NavigatorImpl

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
public NClass
asDecl(NType nt)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl.

If the given type is an use of class declaration, returns the type casted as C.

public NClass
public static NType
public static NClass
create(Class<T> c)

public static NType
createParameterizedType(NClass rawType, NType... args)

Creates a NType representation for a parameterized type RawType<ParamType1,ParamType2,...

public static NType
createParameterizedType(Class<T> rawType, NType... args)

public <T> NType
public NType
getBaseClass(NType nt, NClass base)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getBaseClass.

Gets the parameterization of the given base type.

public Location
getClassLocation(final NClass c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassLocation.

Returns a location of the specified class.

public String
getClassName(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassName.

Gets the fully-qualified name of the class.

public String
getClassShortName(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassShortName.

Gets the short name of the class ("Object" for Object.) For nested classes, this method should just return the inner name.

public NType
getComponentType(NType nType)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getComponentType.

Gets the component type of the array.

public Void
getDeclaredField(NClass clazz, String fieldName)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredField.

Gets the named field declared on the given class.

public Collection<? extends Void>
getDeclaredFields(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredFields.

Gets all the declared fields of the given class.

public Collection<? extends Void>
getDeclaredMethods(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredMethods.

Gets all the declared methods of the given class (regardless of their access modifiers, regardless of whether they override methods of the base classes.)

Note that this method does not list methods declared on base classes.

public NClass
public NClass
public Void[]
getEnumConstants(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getEnumConstants.

Gets the enumeration constants from an enum class.

public Location
public String
public NType
public Location
public String
getMethodName(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodName.

Gets the name of the method, such as "toString" or "equals".

public NType[]
getMethodParameters(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodParameters.

Returns the list of parameters to the method.

public String
getPackageName(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getPackageName.

Gets the package name of the given class.

public NType
getPrimitive(Class<T> primitiveType)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getPrimitive.

Returns the representation for the given primitive type.

public NType
getReturnType(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getReturnType.

Gets the return type of a method.

public NClass
getSuperClass(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getSuperClass.

Gets the base class of the specified class.

public NType
getTypeArgument(NType nt, int i)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getTypeArgument.

Gets the i-th type argument from a parameterized type.

public String
getTypeName(NType type)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getTypeName.

Gets the display name of the type object

public NType
getVoidType()

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getVoidType.

Gets the representation of the primitive "void" type.

public boolean
hasDefaultConstructor(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.hasDefaultConstructor.

Returns true if the given class has a no-arg default constructor.

public boolean
isAbstract(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isAbstract.

Returns true if this is an abstract class.

public boolean
isArray(NType nType)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isArray.

Checks if the type is an array type.

public boolean
isArrayButNotByteArray(NType t)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isArrayButNotByteArray.

Checks if the type is an array type but not byte[].

public boolean
isBridgeMethod(Void method)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isBridgeMethod.

Returns true if this method is a bridge method as defined in JLS.

public boolean
isEnum(NClass c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isEnum.

Returns true if this is an enum class.

public boolean
isFinal(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isFinal.

Deprecated no class generated by XJC is final.

Returns true if this is a final class.

public boolean
isFinalMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isFinalMethod.

Returns true if the method is final.

public boolean
isInnerClass(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isInnerClass.

Returns true if the given class is an inner class.

public boolean
isInterface(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isInterface.

Returns true if 'clazz' is an interface.

public boolean
isOverriding(Void method, NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isOverriding.

Returns true if the given method is overriding another one defined in the base class 'base' or its ancestors.

public boolean
isParameterizedType(NType nt)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isParameterizedType.

Returns true if t is a parameterized type.

public boolean
isPrimitive(NType type)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isPrimitive.

Checks if the given type is a primitive type.

public boolean
isPublicField(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isPublicField.

Returns true if the field is public.

public boolean
isPublicMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isPublicMethod.

Returns true if the method is public.

public boolean
isSameType(NType t1, NType t2)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isSameType.

Checks if types are the same

public boolean
isStaticField(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isStaticField.

Returns true if the field is static.

public boolean
isStaticMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isStaticMethod.

Returns true if the method is static.

public boolean
isSubClassOf(NType sub, NType sup)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isSubClassOf.

Checks if sub is a sub-type of sup.

public boolean
isTransient(Void f)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isTransient.

Returns true if the field is transient.

public NClass
loadObjectFactory(NClass referencePoint, String pkg)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.loadObjectFactory.

Finds ObjectFactory for the given referencePoint.

public NClass
ref(Class<T> c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.ref.

Gets the representation of the given Java type in T.

public NClass
public NType
use(NClass nc)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.use.

Gets the T for the given C.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

theInstanceback to summary
public static final NavigatorImpl theInstance

Constructor Detail

Method Detail

asDeclback to summary
public NClass asDecl(NType nt)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl.

If the given type is an use of class declaration, returns the type casted as C. Otherwise null.

Todo

define the exact semantics.

Annotations
@Override
asDeclback to summary
public NClass asDecl(Class<T> c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl, org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl.

Gets the C representation for the given class. The behavior is undefined if the class object represents primitives, arrays, and other types that are not class declaration.

Annotations
@Override
createback to summary
public static NType create(Type t)
createback to summary
public static NClass create(Class<T> c)
createParameterizedTypeback to summary
public static NType createParameterizedType(NClass rawType, NType... args)

Creates a NType representation for a parameterized type RawType<ParamType1,ParamType2,...> .

createParameterizedTypeback to summary
public static NType createParameterizedType(Class<T> rawType, NType... args)
erasureback to summary
public <T> NType erasure(NType type)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.erasure.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.erasure.

Computes the erasure

Annotations
@Override
getBaseClassback to summary
public NType getBaseClass(NType nt, NClass base)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getBaseClass.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getBaseClass.

Gets the parameterization of the given base type.

For example, given the following

interface Foo<T> extends List<List<T>> {}
interface Bar extends Foo<String> {}
This method works like this:
getBaseClass( Bar, List ) = List<List<String>>
getBaseClass( Bar, Foo  ) = Foo<String>
getBaseClass( Foo<? extends Number>, Collection ) = Collection<List<? extends Number>>
getBaseClass( ArrayList<? extends BigInteger>, List ) = List<? extends BigInteger>
Annotations
@Override
getClassLocationback to summary
public Location getClassLocation(final NClass c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassLocation.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassLocation.

Returns a location of the specified class.

Annotations
@Override
getClassNameback to summary
public String getClassName(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassName.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassName.

Gets the fully-qualified name of the class. ("java.lang.Object" for Object)

Annotations
@Override
getClassShortNameback to summary
public String getClassShortName(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassShortName.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getClassShortName.

Gets the short name of the class ("Object" for Object.) For nested classes, this method should just return the inner name. (for example "Inner" for "com.acme.Outer$Inner".

Annotations
@Override
getComponentTypeback to summary
public NType getComponentType(NType nType)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getComponentType.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getComponentType.

Gets the component type of the array.

Annotations
@Override
getDeclaredFieldback to summary
public Void getDeclaredField(NClass clazz, String fieldName)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredField.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredField.

Gets the named field declared on the given class. This method doesn't visit ancestors, but does recognize non-public fields.

Annotations
@Override
getDeclaredFieldsback to summary
public Collection<? extends Void> getDeclaredFields(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredFields.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredFields.

Gets all the declared fields of the given class.

Annotations
@Override
getDeclaredMethodsback to summary
public Collection<? extends Void> getDeclaredMethods(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredMethods.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaredMethods.

Gets all the declared methods of the given class (regardless of their access modifiers, regardless of whether they override methods of the base classes.)

Note that this method does not list methods declared on base classes.

Annotations
@Override
getDeclaringClassForFieldback to summary
public NClass getDeclaringClassForField(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaringClassForField.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaringClassForField.

Gets the class that declares the given field.

Annotations
@Override
getDeclaringClassForMethodback to summary
public NClass getDeclaringClassForMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaringClassForMethod.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getDeclaringClassForMethod.

Gets the class that declares the given method.

Annotations
@Override
getEnumConstantsback to summary
public Void[] getEnumConstants(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getEnumConstants.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getEnumConstants.

Gets the enumeration constants from an enum class.

Annotations
@Override
getFieldLocationback to summary
public Location getFieldLocation(Void v)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getFieldLocation.

Annotations
@Override
getFieldNameback to summary
public String getFieldName(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getFieldName.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getFieldName.

Gets the name of the field.

Annotations
@Override
getFieldTypeback to summary
public NType getFieldType(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getFieldType.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getFieldType.

Gets the type of the field.

Annotations
@Override
getMethodLocationback to summary
public Location getMethodLocation(Void v)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodLocation.

Annotations
@Override
getMethodNameback to summary
public String getMethodName(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodName.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodName.

Gets the name of the method, such as "toString" or "equals".

Annotations
@Override
getMethodParametersback to summary
public NType[] getMethodParameters(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodParameters.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getMethodParameters.

Returns the list of parameters to the method.

Annotations
@Override
getPackageNameback to summary
public String getPackageName(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getPackageName.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getPackageName.

Gets the package name of the given class.

Annotations
@Override
getPrimitiveback to summary
public NType getPrimitive(Class<T> primitiveType)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getPrimitive.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getPrimitive.

Returns the representation for the given primitive type.

Annotations
@Override
getReturnTypeback to summary
public NType getReturnType(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getReturnType.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getReturnType.

Gets the return type of a method.

Annotations
@Override
getSuperClassback to summary
public NClass getSuperClass(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getSuperClass.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getSuperClass.

Gets the base class of the specified class.

Annotations
@Override
getTypeArgumentback to summary
public NType getTypeArgument(NType nt, int i)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getTypeArgument.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getTypeArgument.

Gets the i-th type argument from a parameterized type. For example, getTypeArgument([Map<Integer,String>],0)=Integer

Annotations
@Override
getTypeNameback to summary
public String getTypeName(NType type)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getTypeName.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getTypeName.

Gets the display name of the type object

Annotations
@Override
getVoidTypeback to summary
public NType getVoidType()

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.getVoidType.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.getVoidType.

Gets the representation of the primitive "void" type.

Annotations
@Override
hasDefaultConstructorback to summary
public boolean hasDefaultConstructor(NClass nClass)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.hasDefaultConstructor.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.hasDefaultConstructor.

Returns true if the given class has a no-arg default constructor. The constructor does not need to be public.

Annotations
@Override
isAbstractback to summary
public boolean isAbstract(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isAbstract.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isAbstract.

Returns true if this is an abstract class.

Annotations
@Override
isArrayback to summary
public boolean isArray(NType nType)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isArray.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isArray.

Checks if the type is an array type.

Annotations
@Override
isArrayButNotByteArrayback to summary
public boolean isArrayButNotByteArray(NType t)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isArrayButNotByteArray.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isArrayButNotByteArray.

Checks if the type is an array type but not byte[].

Annotations
@Override
isBridgeMethodback to summary
public boolean isBridgeMethod(Void method)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isBridgeMethod.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isBridgeMethod.

Returns true if this method is a bridge method as defined in JLS.

Annotations
@Override
isEnumback to summary
public boolean isEnum(NClass c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isEnum.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isEnum.

Returns true if this is an enum class.

Annotations
@Override
isFinalback to summary
public boolean isFinal(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isFinal.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isFinal.

Deprecated

no class generated by XJC is final.

Returns true if this is a final class.

Annotations
@Deprecated
@Override
isFinalMethodback to summary
public boolean isFinalMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isFinalMethod.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isFinalMethod.

Returns true if the method is final.

Annotations
@Override
isInnerClassback to summary
public boolean isInnerClass(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isInnerClass.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isInnerClass.

Returns true if the given class is an inner class. This is only used to improve the error diagnostics, so it's OK to fail to detect some inner classes as such. Note that this method should return false for nested classes (static classes.)

Annotations
@Override
isInterfaceback to summary
public boolean isInterface(NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isInterface.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isInterface.

Returns true if 'clazz' is an interface.

Annotations
@Override
isOverridingback to summary
public boolean isOverriding(Void method, NClass clazz)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isOverriding.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isOverriding.

Returns true if the given method is overriding another one defined in the base class 'base' or its ancestors.

Annotations
@Override
isParameterizedTypeback to summary
public boolean isParameterizedType(NType nt)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isParameterizedType.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isParameterizedType.

Returns true if t is a parameterized type.

Annotations
@Override
isPrimitiveback to summary
public boolean isPrimitive(NType type)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isPrimitive.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isPrimitive.

Checks if the given type is a primitive type.

Annotations
@Override
isPublicFieldback to summary
public boolean isPublicField(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isPublicField.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isPublicField.

Returns true if the field is public.

Annotations
@Override
isPublicMethodback to summary
public boolean isPublicMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isPublicMethod.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isPublicMethod.

Returns true if the method is public.

Annotations
@Override
isSameTypeback to summary
public boolean isSameType(NType t1, NType t2)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isSameType.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isSameType.

Checks if types are the same

Annotations
@Override
isStaticFieldback to summary
public boolean isStaticField(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isStaticField.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isStaticField.

Returns true if the field is static.

Annotations
@Override
isStaticMethodback to summary
public boolean isStaticMethod(Void aVoid)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isStaticMethod.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isStaticMethod.

Returns true if the method is static.

Annotations
@Override
isSubClassOfback to summary
public boolean isSubClassOf(NType sub, NType sup)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isSubClassOf.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isSubClassOf.

Checks if sub is a sub-type of sup.

Todo

should this method take T or C?

Annotations
@Override
isTransientback to summary
public boolean isTransient(Void f)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.isTransient.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.isTransient.

Returns true if the field is transient.

Annotations
@Override
loadObjectFactoryback to summary
public NClass loadObjectFactory(NClass referencePoint, String pkg)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.loadObjectFactory.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.loadObjectFactory.

Finds ObjectFactory for the given referencePoint.

Annotations
@Override
refback to summary
public NClass ref(Class<T> c)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.ref.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.ref.

Gets the representation of the given Java type in T.

Annotations
@Override
refback to summary
public NClass ref(JClass c)
useback to summary
public NType use(NClass nc)

Implements org.glassfish.jaxb.core.v2.model.nav.Navigator.use.

Doc from org.glassfish.jaxb.core.v2.model.nav.Navigator.use.

Gets the T for the given C.

Annotations
@Override