|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PackageInfo
A helper class which stores once the Package
details and contains a Set
containing all the related Java language package names (the dot separated package name
like net.sourceforge.argval.packageinfo
).
Field Summary | |
---|---|
static String |
UNKNOWN_PACKAGE_TITLE
If no specification and implementation title is known, the value "Unknown package title" is used. |
static String |
UNKNOWN_VERSION
If no specification and implementation version is known, the value "Unknown" is used. |
Method Summary | |
---|---|
void |
accept(PackageInfoVisitor visitor)
Called through the client, which send the visitor along. |
void |
addPackageName(String name)
Adds the name of the package from the Java language dot notation ( net.sourceforge.argval.packageinfo ). |
String |
getImplementationTitle()
Returns the implementation title. |
String |
getImplementationVendor()
Returns the implementation vendor. |
String |
getImplementationVersion()
Returns the implementation version. |
Set<String> |
getNameSet()
Returns all the package names associated with this Package . |
String |
getSpecificationTitle()
Returns the specification title. |
String |
getSpecificationVendor()
Returns the specification vendor. |
String |
getSpecificationVersion()
Returns the specification version. |
String |
getTitle()
Returns the specification title, when it is known. |
Field Detail |
---|
static final String UNKNOWN_PACKAGE_TITLE
static final String UNKNOWN_VERSION
Method Detail |
---|
String getImplementationTitle()
String getImplementationVendor()
String getImplementationVersion()
String getSpecificationTitle()
String getSpecificationVendor()
String getSpecificationVersion()
String getTitle()
UNKNOWN_PACKAGE_TITLE
is returned.
UNKNOWN_PACKAGE_TITLE
.Set<String> getNameSet()
Package
.
Package
.void addPackageName(String name)
net.sourceforge.argval.packageinfo
).
name
- The name of the package.void accept(PackageInfoVisitor visitor)
accept
in interface PackageInfoVisitorAcceptor
visitor
- The visitor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |