|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.QDoxSourceFactory
public final class QDoxSourceFactory
This SourceFactory creates Sources for the javadoc: URI scheme.
The goal for this SourceFactory is to provide a Source
for a Java sourcefile containing as much information as possible to mimic the
standard Javadoc output.
The Source provides the following content:
java.lang and the class' packageWith this SourceFactory, you create Doclets with XSLT stylesheets
instead of Java code.
The QDoxSourceFactory uses QDox
to parse the Java sourcefiles.
| Nested Class Summary | |
|---|---|
protected static class |
QDoxSourceFactory.SourceRoot
Represents an URI and which packages it contains. |
| Field Summary | |
|---|---|
protected static String |
GROUP_ATTRIBUTE
|
protected static String |
INCLUDE_INHERITANCE_ELEMENT
|
protected ServiceManager |
manager
|
protected org.apache.regexp.RE |
rePackageClass
RegExp matcher for Java classnames: distinguishes package and classname. |
protected org.apache.regexp.RE |
rePackageClassInnerclass
RegExp matcher for Java classnames: distinguishes package, classname and innerclassname. |
protected static String |
SOURCE_GROUP_ELEMENT
|
protected static String |
SOURCE_ROOT_ELEMENT
|
protected List |
sourceRootUris
|
protected static String |
URI_ATTRIBUTE
|
protected static String |
VALUE_ATTRIBUTE
|
| Fields inherited from interface org.apache.excalibur.source.SourceFactory |
|---|
ROLE |
| Constructor Summary | |
|---|---|
QDoxSourceFactory()
|
|
| Method Summary | |
|---|---|
void |
configure(Configuration config)
|
Source |
getSource(String location,
Map parameters)
|
void |
release(Source source)
Releases the specified Source. |
void |
service(ServiceManager manager)
|
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String INCLUDE_INHERITANCE_ELEMENT
protected static final String VALUE_ATTRIBUTE
protected static final String SOURCE_GROUP_ELEMENT
protected static final String GROUP_ATTRIBUTE
protected static final String SOURCE_ROOT_ELEMENT
protected static final String URI_ATTRIBUTE
protected ServiceManager manager
protected List sourceRootUris
protected org.apache.regexp.RE rePackageClass
protected org.apache.regexp.RE rePackageClassInnerclass
| Constructor Detail |
|---|
public QDoxSourceFactory()
| Method Detail |
|---|
public Source getSource(String location,
Map parameters)
throws MalformedURLException,
IOException,
SourceException
getSource in interface SourceFactoryMalformedURLException
IOException
SourceExceptionSourceFactory.getSource(java.lang.String, java.util.Map)
public void service(ServiceManager manager)
throws ServiceException
service in interface ServiceableServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)
public void configure(Configuration config)
throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionConfigurable.configure(org.apache.avalon.framework.configuration.Configuration)public void release(Source source)
release in interface SourceFactorySourceFactory.release(org.apache.excalibur.source.Source)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||