public class OXMJavaPackageImpl extends Object implements JavaPackage
Purpose: JavaPackage implementation used when bootstrapping
a DynamicJAXBContext from XML Bindings.
Responsibilities:
JavaModel.JavaPackage| Modifier and Type | Field and Description |
|---|---|
protected String |
packageName |
| Constructor and Description |
|---|
OXMJavaPackageImpl(String aPackage)
Construct a new instance of
OXMJavaPackageImpl. |
| Modifier and Type | Method and Description |
|---|---|
JavaAnnotation |
getAnnotation(JavaClass aClass)
If this
JavaPackage is annotated with an Annotation matching aClass,
return its JavaAnnotation representation. |
Collection<JavaAnnotation> |
getAnnotations()
Return all of the
Annotations for this JavaPackage. |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0)
Not supported.
|
Collection<JavaAnnotation> |
getDeclaredAnnotations()
Not supported.
|
String |
getName()
Returns the name of this
JavaPackage. |
String |
getQualifiedName()
Returns the fully-qualified name of this
JavaPackage. |
protected String packageName
public OXMJavaPackageImpl(String aPackage)
OXMJavaPackageImpl.aPackage - - the name of this JavaPackage.public JavaAnnotation getAnnotation(JavaClass aClass)
JavaPackage is annotated with an Annotation matching aClass,
return its JavaAnnotation representation.getAnnotation in interface JavaHasAnnotationsaClass - a JavaClass representing the Annotation to look for.null as JavaTypes do not have Annotations.public Collection<JavaAnnotation> getAnnotations()
Annotations for this JavaPackage.getAnnotations in interface JavaHasAnnotationsnull as JavaTypes do not have Annotations.public String getName()
JavaPackage.String name of this JavaPackage.public String getQualifiedName()
JavaPackage.getQualifiedName in interface JavaPackageString name of this JavaPackage.public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation in interface JavaHasAnnotationspublic Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations in interface JavaHasAnnotationsCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.