|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jaxb.javamodel.xjc.XJCJavaPackageImpl
public class XJCJavaPackageImpl
INTERNAL:
Purpose: JavaPackage
implementation wrapping XJC's JPackage
. Used when
bootstrapping a DynamicJAXBContext
from an XML Schema.
Responsibilities:
Package
information from the underlying JPackage
.
JavaPackage
Field Summary | |
---|---|
protected JPackage |
xjcPackage
|
Constructor Summary | |
---|---|
XJCJavaPackageImpl(JPackage jPackage,
DynamicClassLoader loader)
Construct a new instance of XJCJavaPackageImpl . |
Method Summary | |
---|---|
JavaAnnotation |
getAnnotation(JavaClass aClass)
If this JavaPackage is annotated with an Annotation matching aClass ,
return its JavaAnnotation representation. |
java.util.Collection<JavaAnnotation> |
getAnnotations()
Return all of the Annotations for this JavaPackage . |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0)
Not supported. |
java.util.Collection<JavaAnnotation> |
getDeclaredAnnotations()
Not supported. |
java.lang.String |
getName()
Returns the name of this JavaPackage . |
java.lang.String |
getQualifiedName()
Returns the fully-qualified name of this JavaPackage . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JPackage xjcPackage
Constructor Detail |
---|
public XJCJavaPackageImpl(JPackage jPackage, DynamicClassLoader loader)
XJCJavaPackageImpl
.
jPackage
- - the XJC JPackage
to be wrapped.loader
- - the ClassLoader
used to bootstrap the DynamicJAXBContext
.Method Detail |
---|
public JavaAnnotation getAnnotation(JavaClass aClass)
JavaPackage
is annotated with an Annotation
matching aClass
,
return its JavaAnnotation
representation.
getAnnotation
in interface JavaHasAnnotations
aClass
- a JavaClass
representing the Annotation
to look for.
JavaAnnotation
represented by aClass
, if one exists, otherwise return null
.public java.util.Collection<JavaAnnotation> getAnnotations()
Annotations
for this JavaPackage
.
getAnnotations
in interface JavaHasAnnotations
Collection
containing this JavaPackage's
JavaAnnotations
.public java.lang.String getName()
JavaPackage
.
String
name of this JavaPackage
.public java.lang.String getQualifiedName()
JavaPackage
.
getQualifiedName
in interface JavaPackage
String
name of this JavaPackage
.public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |