com.sun.xml.bind.v2.model.nav.Navigator<NType,NClass,java.lang.Void,java.lang.Void>public final class NavigatorImpl extends java.lang.Object implements com.sun.xml.bind.v2.model.nav.Navigator<NType,NClass,java.lang.Void,java.lang.Void>
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.| Modifier and Type | Field | Description |
|---|---|---|
static NavigatorImpl |
theInstance |
| Modifier and Type | Method | Description |
|---|---|---|
NClass |
asDecl(NType nt) |
|
NClass |
asDecl(java.lang.Class c) |
|
static NClass |
create(java.lang.Class c) |
|
static NType |
create(java.lang.reflect.Type t) |
|
static NType |
createParameterizedType(NClass rawType,
NType... args) |
Creates a
NType representation for a parameterized type
RawType<ParamType1,ParamType2,...> . |
static NType |
createParameterizedType(java.lang.Class rawType,
NType... args) |
|
<T> NType |
erasure(NType type) |
|
NType |
getBaseClass(NType nt,
NClass base) |
|
com.sun.xml.bind.v2.runtime.Location |
getClassLocation(NClass c) |
|
java.lang.String |
getClassName(NClass nClass) |
|
java.lang.String |
getClassShortName(NClass nClass) |
|
NType |
getComponentType(NType nType) |
|
java.lang.Void |
getDeclaredField(NClass clazz,
java.lang.String fieldName) |
|
java.util.Collection<? extends java.lang.Void> |
getDeclaredFields(NClass nClass) |
|
java.util.Collection<? extends java.lang.Void> |
getDeclaredMethods(NClass nClass) |
|
NClass |
getDeclaringClassForField(java.lang.Void aVoid) |
|
NClass |
getDeclaringClassForMethod(java.lang.Void aVoid) |
|
java.lang.Void[] |
getEnumConstants(NClass clazz) |
|
com.sun.xml.bind.v2.runtime.Location |
getFieldLocation(java.lang.Void v) |
|
java.lang.String |
getFieldName(java.lang.Void aVoid) |
|
NType |
getFieldType(java.lang.Void aVoid) |
|
com.sun.xml.bind.v2.runtime.Location |
getMethodLocation(java.lang.Void v) |
|
java.lang.String |
getMethodName(java.lang.Void aVoid) |
|
NType[] |
getMethodParameters(java.lang.Void aVoid) |
|
java.lang.String |
getPackageName(NClass clazz) |
|
NType |
getPrimitive(java.lang.Class primitiveType) |
|
NType |
getReturnType(java.lang.Void aVoid) |
|
NClass |
getSuperClass(NClass nClass) |
|
NType |
getTypeArgument(NType nt,
int i) |
|
java.lang.String |
getTypeName(NType type) |
|
NType |
getVoidType() |
|
boolean |
hasDefaultConstructor(NClass nClass) |
|
boolean |
isAbstract(NClass clazz) |
|
boolean |
isArray(NType nType) |
|
boolean |
isArrayButNotByteArray(NType t) |
|
boolean |
isBridgeMethod(java.lang.Void method) |
|
boolean |
isEnum(NClass c) |
|
boolean |
isFinal(NClass clazz) |
Deprecated.
no class generated by XJC is final.
|
boolean |
isFinalMethod(java.lang.Void aVoid) |
|
boolean |
isInnerClass(NClass clazz) |
|
boolean |
isInterface(NClass clazz) |
|
boolean |
isOverriding(java.lang.Void method,
NClass clazz) |
|
boolean |
isParameterizedType(NType nt) |
|
boolean |
isPrimitive(NType type) |
|
boolean |
isPublicField(java.lang.Void aVoid) |
|
boolean |
isPublicMethod(java.lang.Void aVoid) |
|
boolean |
isSameType(NType t1,
NType t2) |
|
boolean |
isStaticField(java.lang.Void aVoid) |
|
boolean |
isStaticMethod(java.lang.Void aVoid) |
|
boolean |
isSubClassOf(NType sub,
NType sup) |
|
boolean |
isTransient(java.lang.Void f) |
|
NClass |
loadObjectFactory(NClass referencePoint,
java.lang.String pkg) |
|
NClass |
ref(JClass c) |
|
NClass |
ref(java.lang.Class c) |
|
NType |
use(NClass nc) |
public static final NavigatorImpl theInstance
public java.lang.String getClassName(NClass nClass)
public java.lang.String getTypeName(NType type)
public java.lang.String getClassShortName(NClass nClass)
public java.util.Collection<? extends java.lang.Void> getDeclaredFields(NClass nClass)
public java.lang.Void getDeclaredField(NClass clazz, java.lang.String fieldName)
public java.util.Collection<? extends java.lang.Void> getDeclaredMethods(NClass nClass)
public NClass getDeclaringClassForField(java.lang.Void aVoid)
public NClass getDeclaringClassForMethod(java.lang.Void aVoid)
public NType getFieldType(java.lang.Void aVoid)
public java.lang.String getFieldName(java.lang.Void aVoid)
public java.lang.String getMethodName(java.lang.Void aVoid)
public NType getReturnType(java.lang.Void aVoid)
public NType[] getMethodParameters(java.lang.Void aVoid)
public boolean isStaticMethod(java.lang.Void aVoid)
public boolean isFinalMethod(java.lang.Void aVoid)
public NClass ref(java.lang.Class c)
public NClass asDecl(java.lang.Class c)
public boolean isArray(NType nType)
public boolean isArrayButNotByteArray(NType t)
public boolean isParameterizedType(NType nt)
public boolean isPrimitive(NType type)
public NType getPrimitive(java.lang.Class primitiveType)
public static final NType create(java.lang.reflect.Type t)
public static NClass create(java.lang.Class c)
public static NType createParameterizedType(NClass rawType, NType... args)
NType representation for a parameterized type
RawType<ParamType1,ParamType2,...> .public static NType createParameterizedType(java.lang.Class rawType, NType... args)
public com.sun.xml.bind.v2.runtime.Location getClassLocation(NClass c)
public com.sun.xml.bind.v2.runtime.Location getFieldLocation(java.lang.Void v)
public com.sun.xml.bind.v2.runtime.Location getMethodLocation(java.lang.Void v)
public boolean hasDefaultConstructor(NClass nClass)
public boolean isStaticField(java.lang.Void aVoid)
public boolean isPublicMethod(java.lang.Void aVoid)
public boolean isPublicField(java.lang.Void aVoid)
public boolean isEnum(NClass c)
public boolean isAbstract(NClass clazz)
public boolean isFinal(NClass clazz)
public java.lang.Void[] getEnumConstants(NClass clazz)
public NType getVoidType()
public java.lang.String getPackageName(NClass clazz)
public boolean isBridgeMethod(java.lang.Void method)
public boolean isOverriding(java.lang.Void method,
NClass clazz)
public boolean isInterface(NClass clazz)
public boolean isTransient(java.lang.Void f)
public boolean isInnerClass(NClass clazz)
Copyright © 2018 Oracle Corporation. All rights reserved.