Module org.eclipse.persistence.moxy
Class XJCJavaAnnotationImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.xjc.XJCJavaAnnotationImpl
- All Implemented Interfaces:
JavaAnnotation
INTERNAL:
Purpose: JavaAnnotation
implementation wrapping XJC's JAnnotationUse
. Used when
bootstrapping a DynamicJAXBContext
from an XML Schema.
Responsibilities:
- Provide
Annotation
information from the underlyingJAnnotationUse
.
- Since:
- EclipseLink 2.1
- See Also:
-
Constructor Summary
ConstructorDescriptionXJCJavaAnnotationImpl
(com.sun.codemodel.JAnnotationUse annotation, DynamicClassLoader loader) Construct a new instance ofXJCJavaAnnotationImpl
. -
Method Summary
-
Constructor Details
-
XJCJavaAnnotationImpl
public XJCJavaAnnotationImpl(com.sun.codemodel.JAnnotationUse annotation, DynamicClassLoader loader) Construct a new instance ofXJCJavaAnnotationImpl
.- Parameters:
annotation
- - the XJCJAnnotationUse
to be wrapped.loader
- - theClassLoader
used to bootstrap theDynamicJAXBContext
.
-
-
Method Details
-
getJavaAnnotation
Return a JavaAnnotation
representation of thisJavaAnnotation
.- Returns:
- a Java
Annotation
representation of thisJavaAnnotation
.
-
getJavaAnnotationClass
Return the JavaClass
of theAnnotation
represented by thisJavaAnnotation
.- Returns:
- the Java
Class
of thisJavaAnnotation's
Annotation
.
-
getComponents
Not supported.- Specified by:
getComponents
in interfaceJavaAnnotation
-
getName
- Specified by:
getName
in interfaceJavaAnnotation
-