Package org.jvnet.jaxb.annox.model
Class XPackage
- java.lang.Object
-
- org.jvnet.jaxb.annox.model.XAnnotated
-
- org.jvnet.jaxb.annox.model.XAnnotatedElement<Package>
-
- org.jvnet.jaxb.annox.model.XPackage
-
- All Implemented Interfaces:
AnnotatedElement
public class XPackage extends XAnnotatedElement<Package>
Defines an annotated package.- Author:
- Aleksei Valikov
-
-
Constructor Summary
Constructors Constructor Description XPackage(Package targetPackage, XAnnotation<?>[] xannotations, XClass[] xclasses)Constructs an annotated package.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XClass[]getClasses()Returns annotated classes of the package.PackagegetPackage()Returns the target package.-
Methods inherited from class org.jvnet.jaxb.annox.model.XAnnotatedElement
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresent
-
Methods inherited from class org.jvnet.jaxb.annox.model.XAnnotated
equals, getAnnotations, getXAnnotations, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
-
-
-
Field Detail
-
VOID
public static final XPackage VOID
VOID package.
-
-
Constructor Detail
-
XPackage
public XPackage(Package targetPackage, XAnnotation<?>[] xannotations, XClass[] xclasses)
Constructs an annotated package.- Parameters:
targetPackage- target package.xannotations- package annotations, may benull.xclasses- annotated classes
-
-