Package com.sun.tools.xjc.model.nav
Class NavigatorImpl
java.lang.Object
com.sun.tools.xjc.model.nav.NavigatorImpl
public final class NavigatorImpl
extends Object
implements com.sun.xml.bind.v2.model.nav.Navigator<NType,NClass,Void,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.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic NClassstatic final NTypestatic NTypecreateParameterizedType(NClass rawType, NType... args) Creates aNTyperepresentation for a parameterized typeRawType<ParamType1,ParamType2,...>.static NTypecreateParameterizedType(Class rawType, NType... args) <T> NTypegetBaseClass(NType nt, NClass base) com.sun.xml.bind.v2.runtime.LocationgetClassName(NClass nClass) getClassShortName(NClass nClass) getComponentType(NType nType) getDeclaredField(NClass clazz, String fieldName) Collection<? extends Void>getDeclaredFields(NClass nClass) Collection<? extends Void>getDeclaredMethods(NClass nClass) getDeclaringClassForField(Void aVoid) getDeclaringClassForMethod(Void aVoid) Void[]getEnumConstants(NClass clazz) com.sun.xml.bind.v2.runtime.LocationgetFieldName(Void aVoid) getFieldType(Void aVoid) com.sun.xml.bind.v2.runtime.LocationgetMethodName(Void aVoid) NType[]getMethodParameters(Void aVoid) getPackageName(NClass clazz) getPrimitive(Class primitiveType) getReturnType(Void aVoid) getSuperClass(NClass nClass) getTypeArgument(NType nt, int i) getTypeName(NType type) booleanhasDefaultConstructor(NClass nClass) booleanisAbstract(NClass clazz) booleanbooleanbooleanisBridgeMethod(Void method) booleanbooleanDeprecated.no class generated by XJC is final.booleanisFinalMethod(Void aVoid) booleanisInnerClass(NClass clazz) booleanisInterface(NClass clazz) booleanisOverriding(Void method, NClass clazz) booleanbooleanisPrimitive(NType type) booleanisPublicField(Void aVoid) booleanisPublicMethod(Void aVoid) booleanisSameType(NType t1, NType t2) booleanisStaticField(Void aVoid) booleanisStaticMethod(Void aVoid) booleanisSubClassOf(NType sub, NType sup) booleanisTransient(Void f) loadObjectFactory(NClass referencePoint, String pkg)
-
Field Details
-
theInstance
-
-
Method Details
-
getDeclaringClassForField
-
getDeclaringClassForMethod
-
getFieldType
-
getFieldName
-
getMethodName
-
getReturnType
-
getMethodParameters
-
isStaticMethod
-
isFinalMethod
-
ref
-
ref
-
asDecl
-
getPrimitive
-
create
-
create
-
getFieldLocation
-
getMethodLocation
-
isStaticField
-
isPublicMethod
-
isPublicField
-
getVoidType
-
isBridgeMethod
-
isTransient