|
EclipseLink 2.4.0, build 'v20111223-r10618' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaModelImpl
public class OXMJavaModelImpl
INTERNAL:
Purpose: JavaModel implementation backed by a collection of MOXY's
xmlmodel.JavaClasses. Used when bootstrapping a DynamicJAXBContext
from XML Bindings.
Responsibilities:
JavaClass based on a Class or Class name.
JavaModel| Constructor Summary | |
|---|---|
OXMJavaModelImpl(java.lang.ClassLoader loader,
JavaClass[] javaClasses)
Construct a new instance of OXMJavaModelImpl. |
|
| Method Summary | |
|---|---|
java.lang.annotation.Annotation |
getAnnotation(JavaAnnotation annotation,
java.lang.Class<?> jClass)
Return a Java Annotation representation of the given JavaAnnotation. |
JavaClass |
getClass(java.lang.Class<?> jClass)
Obtain the JavaClass given the corresponding Java Class. |
JavaClass |
getClass(java.lang.String className)
Obtain the JavaClass given the corresponding Java Class' name. |
java.lang.ClassLoader |
getClassLoader()
Returns this JavaModel's ClassLoader. |
org.eclipse.persistence.internal.jaxb.JaxbClassLoader |
getJaxbClassLoader()
Returns this JavaModel's JaxbClassLoader, which
should be the parent ClassLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OXMJavaModelImpl(java.lang.ClassLoader loader,
JavaClass[] javaClasses)
OXMJavaModelImpl.
loader - - the ClassLoader used to bootstrap the DynamicJAXBContext.javaClasses - - an array of JavaClasses for which to generate mappings.| Method Detail |
|---|
public JavaClass getClass(java.lang.Class<?> jClass)
JavaClass given the corresponding Java Class.
getClass in interface JavaModeljClass - - the Java Class to search for.
JavaClass corresponding to jClass.public JavaClass getClass(java.lang.String className)
JavaClass given the corresponding Java Class' name.
getClass in interface JavaModelclassName - - the name of the Java Class to search for.
JavaClass corresponding to className.public java.lang.ClassLoader getClassLoader()
JavaModel's ClassLoader.
getClassLoader in interface JavaModelClassLoader used by this JavaModel.public org.eclipse.persistence.internal.jaxb.JaxbClassLoader getJaxbClassLoader()
JavaModel's JaxbClassLoader, which
should be the parent ClassLoader.
JaxbClassLoader used by this JavaModel.
public java.lang.annotation.Annotation getAnnotation(JavaAnnotation annotation,
java.lang.Class<?> jClass)
Annotation representation of the given JavaAnnotation.
getAnnotation in interface JavaModelannotation - - the JavaAnnotation to be converted.jClass - - the Java Class this annotation belogs to.
null as JavaTypes do not have Annotations.
|
EclipseLink 2.4.0, build 'v20111223-r10618' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||