|
XDC - v. 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xdc.processing.XdcSourceCollector
The XdcSourceCollector class is used to assemble the possible
XML source files specified for processing into XDC documentation.
| Constructor Summary | |
XdcSourceCollector(org.apache.commons.cli.CommandLine commandLine)
Public constructor. |
|
| Method Summary | |
int |
getFramesetSize()
This method is used to determine the number of frames contained in the main frameset of the generated XDC documentation. |
java.io.File |
getLeadingSourcePath()
This method returns the directory specified as the first argument of the -sourcepath option. |
java.lang.String[] |
getPackageNames()
This method returns an array of the names of all packages containing XML source files specified for processing. |
java.lang.String |
getSummaryText()
This method attempts to extract text from an overview file (which is specified by the -overview option and must be placed in of the
root directories specified as arguments to the -sourcepath
options). |
XdcPackage |
getXdcPackage(java.lang.String packageName)
This method retrieves an XdcPackage object specified for processing
by the XDC tool. |
XdcSource |
getXdcSource(java.lang.String sourceName)
This method retrieves a particular XdcSource by its
(fully-qualified) source name. |
XdcSource[] |
getXdcSources()
This getter method retrieves all assembled XML source files. |
XdcSource[] |
getXdcSources(java.lang.String packageName)
This method retrieves all XdcSource objects contained in an
XdcPackage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XdcSourceCollector(org.apache.commons.cli.CommandLine commandLine)
commandLine - The CommandLine containing all option
values of the XDC invocation| Method Detail |
public XdcSource[] getXdcSources()
XdcSource objects)public XdcPackage getXdcPackage(java.lang.String packageName)
XdcPackage object specified for processing
by the XDC tool.
packageName - The name of the package
XdcPackage with the specified namepublic XdcSource[] getXdcSources(java.lang.String packageName)
XdcSource objects contained in an
XdcPackage.
packageName - The name of the package from which the sources are
returned
XdcSource objects) contained in the package with the
specified name.public XdcSource getXdcSource(java.lang.String sourceName)
XdcSource by its
(fully-qualified) source name.
sourceName - The fully-qualified name of the XdcSource
to be retrieved
XdcSource with the given namepublic java.io.File getLeadingSourcePath()
-sourcepath option. (This value is used as the root directory
of the XDC output if no -d option is specified.)
File specified as the first sourcepathpublic java.lang.String[] getPackageNames()
XdcPackagespublic int getFramesetSize()
XdcPackage have been
assembled, the method returns 2; otherwise it returns 3.public java.lang.String getSummaryText()
-overview option and must be placed in of the
root directories specified as arguments to the -sourcepath
options).
|
XDC - v. 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||