KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > phoenix > tools > xdoclet > PhoenixXDoclet


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.phoenix.tools.xdoclet;
9
10 import xdoclet.DocletTask;
11 import org.apache.tools.ant.types.Path;
12
13 /**
14  * @author <a HREF="mailto:vinay_chandran@users.sourceforge.net">Vinay Chandrasekharan</a>
15  * @version $Revision: 1.9 $ $Date: 2002/08/25 06:30:42 $
16  */

17 public class PhoenixXDoclet
18     extends DocletTask
19 {
20     private BlockInfoSubTask m_blockInfoSubTask;
21     private MxInfoSubTask m_mxinfoSubTask;
22     private ManifestSubTask m_manifestSubTask;
23
24     public BlockInfoSubTask createBlockinfo()
25     {
26         m_blockInfoSubTask = new BlockInfoSubTask();
27         addTemplate( m_blockInfoSubTask );
28         return m_blockInfoSubTask;
29     }
30
31     public ManifestSubTask createManifest()
32     {
33         m_manifestSubTask = new ManifestSubTask();
34         addTemplate( m_manifestSubTask );
35         return m_manifestSubTask;
36     }
37
38     public MxInfoSubTask createMxInfo()
39     {
40         m_mxinfoSubTask = new MxInfoSubTask();
41         addTemplate( m_mxinfoSubTask );
42         return m_mxinfoSubTask;
43     }
44
45     public void setClasspathRef( final Path path )
46     {
47        System.out.println( "WARNING: classpathRef no longer required due to changes in underlying xdoclet" );
48     }
49 }
50
51
Popular Tags