net.sourceforge.argval.packageinfo
Class AbstractPackageInfo
java.lang.Object
net.sourceforge.argval.packageinfo.AbstractPackageInfo
- All Implemented Interfaces:
- PackageInfo, PackageInfoVisitorAcceptor
- Direct Known Subclasses:
- ManifestInfoAsPackageInfo, PackageInfoImpl
public abstract class AbstractPackageInfo
- extends Object
- implements PackageInfo
- Author:
- T. Verhagen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPackageInfo
public AbstractPackageInfo()
getTitle
public String getTitle()
- Returns the specification title, when it is known. Or when not the
implementation title is returned. Or when that is also not known, the
value
PackageInfo.UNKNOWN_PACKAGE_TITLE
is returned.
- Specified by:
getTitle
in interface PackageInfo
- Returns:
- The title of the specification, or the implementation or just
PackageInfo.UNKNOWN_PACKAGE_TITLE
.
accept
public void accept(PackageInfoVisitor visitor)
- Called through the client, which send the visitor along...
- Specified by:
accept
in interface PackageInfo
- Specified by:
accept
in interface PackageInfoVisitorAcceptor
- Parameters:
visitor
- The visitor.
Copyright © 2013 Verhagen Software. All Rights Reserved.