Class XJCJavaAnnotationImpl
- java.lang.Object
-
- org.eclipse.persistence.jaxb.javamodel.xjc.XJCJavaAnnotationImpl
-
- All Implemented Interfaces:
JavaAnnotation
public class XJCJavaAnnotationImpl extends java.lang.Object implements JavaAnnotation
INTERNAL:Purpose:
JavaAnnotation
implementation wrapping XJC'sJAnnotationUse
. Used when bootstrapping aDynamicJAXBContext
from an XML Schema.Responsibilities:
- Provide
Annotation
information from the underlyingJAnnotationUse
.
- See Also:
JavaAnnotation
- Since:
- EclipseLink 2.1
-
-
Constructor Summary
Constructors Constructor Description XJCJavaAnnotationImpl(com.sun.codemodel.JAnnotationUse annotation, DynamicClassLoader loader)
Construct a new instance ofXJCJavaAnnotationImpl
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Object,java.lang.Object>
getComponents()
Not supported.java.lang.annotation.Annotation
getJavaAnnotation()
Return a JavaAnnotation
representation of thisJavaAnnotation
.java.lang.Class<?>
getJavaAnnotationClass()
Return the JavaClass
of theAnnotation
represented by thisJavaAnnotation
.java.lang.String
getName()
-
-
-
Constructor Detail
-
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 Detail
-
getJavaAnnotation
public java.lang.annotation.Annotation getJavaAnnotation()
Return a JavaAnnotation
representation of thisJavaAnnotation
.- Returns:
- a Java
Annotation
representation of thisJavaAnnotation
.
-
getJavaAnnotationClass
public java.lang.Class<?> getJavaAnnotationClass()
Return the JavaClass
of theAnnotation
represented by thisJavaAnnotation
.- Returns:
- the Java
Class
of thisJavaAnnotation's
Annotation
.
-
getComponents
public java.util.Map<java.lang.Object,java.lang.Object> getComponents()
Not supported.- Specified by:
getComponents
in interfaceJavaAnnotation
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJavaAnnotation
-
-