Interface JavaModel

  • All Known Implementing Classes:
    JavaModelImpl, OXMJavaModelImpl, XJCJavaModelImpl

    public interface JavaModel

    Purpose:The JavaModel is the central access point to the TopLink JAXB 2.0 Java model implementation's source/classes. A JavaModel has an underlying source/classpath that defines its search path.


    • Return a JavaClass based on a Class or Class name
    • Return a JDK Annotation for a given JavaAnnotation
    Oracle TopLink
    • Method Detail

      • getClass

        JavaClass getClass​(java.lang.Class<?> jClass)
      • getClass

        JavaClass getClass​(java.lang.String classname)
      • getClassLoader

        java.lang.ClassLoader getClassLoader()
      • getAnnotation

        java.lang.annotation.Annotation getAnnotation​(JavaAnnotation janno,
                                                      java.lang.Class<?> jClass)