org.jvnet.annox.model
Class XPackage
java.lang.Object
org.jvnet.annox.model.XAnnotated
org.jvnet.annox.model.XAnnotatedElement<Package>
org.jvnet.annox.model.XPackage
- All Implemented Interfaces:
- AnnotatedElement
public class XPackage
- extends XAnnotatedElement<Package>
Defines an annotated package.
- Author:
- Aleksei Valikov
VOID
public static final XPackage VOID
- VOID package.
XPackage
public XPackage(Package targetPackage,
XAnnotation[] xannotations,
XClass[] xclasses)
- Constructs an annotated package.
- Parameters:
targetPackage
- target package.xannotations
- package annotations, may be null
.
getPackage
public Package getPackage()
- Returns the target package.
- Returns:
- Target package.
getClasses
public XClass[] getClasses()
- Returns annotated classes of the package.
- Returns:
- Annotated classes of the package.
Copyright © 2006-2012 Highsource. All Rights Reserved.