cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Huber <berni_hu...@a1.net>
Subject [STATUS] qdox java generator
Date Thu, 26 Dec 2002 13:58:11 GMT
hi,

i have some time building a JavaDocGenerator using qdox,
qdox is really very simple.
i plan just to marrshal qdox objects to xml using
ns xmlns:jd="http://org.apache/cocoon/javadoc/1.0".

all other transfromation should be done by some transformations
steps down the pipeline.

First I tried to use Castor, but Castor wants always getXXX() too,
which are not always available int QDOX classes.
Thus I do the marshalling manually.

it's not finished yet, still some way to go, ....

regards bernhard

a xml generator snippet of JavDocGenerator:
<?xml version="1.0"?>
<jd:javadoc xmlns:jd="http://org.apache/cocoon/javadoc/1.0">
<jd:javadoc>
....
<jd:java-source 
file="\projects\external-java-projects\cocoon-homepage\src\java\org\apache\cocoon\generation\javadoc\JavaDocGenerator.java"

package="org.apache.cocoon.generation.javadoc">
<jd:imports>org.apache.avalon.framework.parameters.Parameters</jd:imports>
....
<jd:java-class>org.apache.cocoon.generation.javadoc.JavaDocGenerator</jd:java-class>
</jd:java-source>

<jd:java-class 
fully-qualified-name="org.apache.cocoon.generation.javadoc.JavaDocGenerator" 

package="org.apache.cocoon.generation.javadoc" is-interface="false" 
is-public="true">
...
<jd:comment>Description of the Class</jd:comment>
<jd:doclet-tag name="author" value="Administrator">
   <jd:parameter key="Administrator" value=""/>
</jd:doclet-tag>
...
<jd:super-class key="$Id$" 
value="">org.apache.cocoon.generation.ComposerGenerator</jd:super-class>

</jd:java-class>
.......


Mime
View raw message