EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jaxb.javamodel.xjc
Class XJCJavaAnnotationImpl

java.lang.Object
  extended by 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's JAnnotationUse. Used when bootstrapping a DynamicJAXBContext from an XML Schema.

Responsibilities:

See Also:
JavaAnnotation
Since:
EclipseLink 2.1

Constructor Summary
XJCJavaAnnotationImpl(JAnnotationUse annotation, DynamicClassLoader loader)
          Construct a new instance of XJCJavaAnnotationImpl.
 
Method Summary
 java.util.Map<java.lang.Object,java.lang.Object> getComponents()
          Not supported.
 java.lang.annotation.Annotation getJavaAnnotation()
          Return a Java Annotation representation of this JavaAnnotation.
 java.lang.Class<?> getJavaAnnotationClass()
          Return the Java Class of the Annotation represented by this JavaAnnotation.
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XJCJavaAnnotationImpl

public XJCJavaAnnotationImpl(JAnnotationUse annotation,
                             DynamicClassLoader loader)
Construct a new instance of XJCJavaAnnotationImpl.

Parameters:
annotation - - the XJC JAnnotationUse to be wrapped.
loader - - the ClassLoader used to bootstrap the DynamicJAXBContext.
Method Detail

getJavaAnnotation

public java.lang.annotation.Annotation getJavaAnnotation()
Return a Java Annotation representation of this JavaAnnotation.

Returns:
a Java Annotation representation of this JavaAnnotation.

getJavaAnnotationClass

public java.lang.Class<?> getJavaAnnotationClass()
Return the Java Class of the Annotation represented by this JavaAnnotation.

Returns:
the Java Class of this JavaAnnotation's Annotation.

getComponents

public java.util.Map<java.lang.Object,java.lang.Object> getComponents()
Not supported.

Specified by:
getComponents in interface JavaAnnotation

getName

public java.lang.String getName()
Specified by:
getName in interface JavaAnnotation

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference