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
Annotationinformation from the underlyingJAnnotationUse.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXJCJavaAnnotationImpl(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 XJCJAnnotationUseto be wrapped.loader- - theClassLoaderused to bootstrap theDynamicJAXBContext.
-
-
Method Details
-
getJavaAnnotation
Return a JavaAnnotationrepresentation of thisJavaAnnotation.- Returns:
- a Java
Annotationrepresentation of thisJavaAnnotation.
-
getJavaAnnotationClass
Return the JavaClassof theAnnotationrepresented by thisJavaAnnotation.- Returns:
- the Java
Classof thisJavaAnnotation'sAnnotation.
-
getComponents
Not supported.- Specified by:
getComponentsin interfaceJavaAnnotation
-
getName
- Specified by:
getNamein interfaceJavaAnnotation
-