public class JavaModelImpl extends java.lang.Object implements JavaModel
Purpose:The JavaModel is the central access point to the TopLink JAXB 2.0 Java model implementation's source/class files. A JavaModel has an underlying source/classpath that defines its search path.
Responsibilities:
JavaModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.ClassLoader |
classLoader |
Constructor and Description |
---|
JavaModelImpl(java.lang.ClassLoader classLoader) |
JavaModelImpl(java.lang.ClassLoader classLoader,
AnnotationHelper annotationHelper) |
Modifier and Type | Method and Description |
---|---|
java.lang.annotation.Annotation |
getAnnotation(JavaAnnotation janno,
java.lang.Class<?> jClass) |
AnnotationHelper |
getAnnotationHelper() |
java.util.Map<java.lang.String,JavaClassImpl> |
getCachedJavaClasses() |
JavaClass |
getClass(java.lang.Class<?> jClass) |
JavaClass |
getClass(java.lang.String className) |
java.lang.ClassLoader |
getClassLoader() |
boolean |
hasXmlBindings() |
void |
setHasXmlBindings(boolean hasXmlBindings) |
void |
setMetadataCompletePackageMap(java.util.Map<java.lang.String,java.lang.Boolean> metadataCompletePackageMap)
Set the Map of package names to metadata complete indicators for this
JavaModelInput.
|
public JavaModelImpl(java.lang.ClassLoader classLoader)
public JavaModelImpl(java.lang.ClassLoader classLoader, AnnotationHelper annotationHelper)
public JavaClass getClass(java.lang.Class<?> jClass)
public JavaClass getClass(java.lang.String className)
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface JavaModel
public java.lang.annotation.Annotation getAnnotation(JavaAnnotation janno, java.lang.Class<?> jClass)
getAnnotation
in interface JavaModel
public AnnotationHelper getAnnotationHelper()
public void setMetadataCompletePackageMap(java.util.Map<java.lang.String,java.lang.Boolean> metadataCompletePackageMap)
metadataCompletePackageMap
- public java.util.Map<java.lang.String,JavaClassImpl> getCachedJavaClasses()
public boolean hasXmlBindings()
public void setHasXmlBindings(boolean hasXmlBindings)