Package org.jvnet.jaxb.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.jaxb.annox.model.XAnnotatedElement
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresentMethods inherited from class org.jvnet.jaxb.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.
-
-
Constructor Details
-
XPackage
Constructs an annotated package.- Parameters:
targetPackage- target package.xannotations- package annotations, may benull.xclasses- annotated classes
-
-
Method Details
-
getPackage
Returns the target package.- Returns:
- Target package.
-
getClasses
Returns annotated classes of the package.- Returns:
- Annotated classes of the package.
-