Package org.jvnet.basicjaxb_annox.model
Class XPackage
- All Implemented Interfaces:
AnnotatedElement
Defines an annotated package.
- Author:
- Aleksei Valikov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXPackage(Package targetPackage, XAnnotation<?>[] xannotations, XClass[] xclasses) Constructs an annotated package. -
Method Summary
Modifier and TypeMethodDescriptionXClass[]Returns annotated classes of the package.Returns the target package.Methods inherited from class org.jvnet.basicjaxb_annox.model.XAnnotatedElement
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresentMethods inherited from class org.jvnet.basicjaxb_annox.model.XAnnotated
equals, getAnnotations, getXAnnotations, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
Field Details
-
VOID
VOID package. Signals that package could not be found.
-
-
Constructor Details
-
XPackage
Constructs an annotated package.- Parameters:
targetPackage- target package.xannotations- package annotations, may benull.
-
-
Method Details
-
getPackage
Returns the target package.- Returns:
- Target package.
-
getClasses
Returns annotated classes of the package.- Returns:
- Annotated classes of the package.
-