|
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.XdcPackage
This class represents a "package" of sources. This is essentially a directory containing one or more XML files to be processed by XDC.
| Constructor Summary | |
XdcPackage(java.lang.String name)
Public constructor. |
|
| Method Summary | |
void |
addSource(XdcSource xdcSource)
This method is used to register an XdcSource with this
XdcPackage. |
java.lang.String |
getName()
Getter method for this XdcPackage's name. |
java.lang.String |
getSummaryText()
This method retrieves the relevant package summary file text. |
XdcSource |
getXdcSource(java.lang.String sourceName)
This method retrieves a particular XdcSource object
from this XdcPackage by its (non-qualified) name. |
XdcSource[] |
getXdcSources()
This method retrieves all registered XdcSource objects. |
void |
removeSource(XdcSource xdcSource)
This method is used to unregister an XdcSource from this
XdcPackage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XdcPackage(java.lang.String name)
name - The name of the package. This amounts to the last part of
the source directory path.| Method Detail |
public java.lang.String getName()
XdcPackage's name.
XdcPackagepublic void addSource(XdcSource xdcSource)
XdcSource with this
XdcPackage.
xdcSource - An XdcSource object to be registered with
this XdcPackagepublic void removeSource(XdcSource xdcSource)
XdcSource from this
XdcPackage.
xdcSource - An XdcSource object to be unregistered from
this XdcPackagepublic XdcSource[] getXdcSources()
XdcSource objects.
XdcSource objects registered with
this XdcPackagepublic XdcSource getXdcSource(java.lang.String sourceName)
XdcSource object
from this XdcPackage by its (non-qualified) name.
sourceName - The name of the XdcSource to be
retrieved
XdcSource of this XdcPackage
with the name sourceNamepublic java.lang.String getSummaryText()
XdcPackage's source directory.
|
XDC - v. 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||