|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.jdlcode.PackageType
Defines a package type whose classes are liked to, from your JavaDoc html files. Manage a set of PackageTypes with a PTArray.
Source code: PackageType.java.
All package types are defined above the "~" line, in the doclet class map. See UtilJDLCode.getJDCAFromFLR and getPackageTypeFromLine.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
PackageType(String s_prefix,
String s_externalUrl)
Create a PackageType. |
Method Summary | |
String |
getExternalUrl()
Get the prefix for this PackageType. |
String |
getName()
A synonym for getPrefix(). |
String |
getPrefix()
Get the prefix for this PackageType. |
boolean |
isExternal()
Is this PackageType external? |
boolean |
isLocal()
Is this PackageType local? |
String |
toString()
Get some information about this PackageType. |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PackageType(String s_prefix, String s_externalUrl)
Create a PackageType.
s_prefix
- The prefix of a package type. For example, the package type prefix forjava.lang.Object
java.io.File
java.sql.Connection
The package type prefix for
xbn.XBNObject
xbn.array.VWObject
xbn.util.UtilString
To do: Package prefixes should be allowed to have a dot in them. This will prevent conflicts when using multiple packages starting with "com.".
is xbns_externalUrl
- The url to the external package's root JavaDoc directory, including the final slash. Inside of this url directory must exist a folder named (the value of) s_prefix. When null, this package type is local, meaning the JavaDoc files for these packages are generated by you.Method Detail |
public String getPrefix()
Get the prefix for this PackageType.
public boolean isExternal()
Is this PackageType external?
(getExternalUrl() != null)
public boolean isLocal()
Is this PackageType local?
!isExternal()
public String getExternalUrl()
Get the prefix for this PackageType.
public String getName()
A synonym for getPrefix(). See getPrefix.
getName
in interface Named
public String toString()
Get some information about this PackageType.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava