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:
JavaAnnotationimplementation wrapping XJC'sJAnnotationUse. Used when bootstrapping aDynamicJAXBContextfrom an XML Schema.Responsibilities:
- Provide
Annotationinformation 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.AnnotationgetJavaAnnotation()Return a JavaAnnotationrepresentation of thisJavaAnnotation.java.lang.Class<?>getJavaAnnotationClass()Return the JavaClassof theAnnotationrepresented by thisJavaAnnotation.java.lang.StringgetName()
-
-
-
Constructor Detail
-
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 Detail
-
getJavaAnnotation
public java.lang.annotation.Annotation getJavaAnnotation()
Return a JavaAnnotationrepresentation of thisJavaAnnotation.- Returns:
- a Java
Annotationrepresentation of thisJavaAnnotation.
-
getJavaAnnotationClass
public java.lang.Class<?> getJavaAnnotationClass()
Return the JavaClassof theAnnotationrepresented by thisJavaAnnotation.- Returns:
- the Java
Classof thisJavaAnnotation'sAnnotation.
-
getComponents
public java.util.Map<java.lang.Object,java.lang.Object> getComponents()
Not supported.- Specified by:
getComponentsin interfaceJavaAnnotation
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceJavaAnnotation
-
-