xjavadoc.ant
Class XJavadocFilter
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.types.DataType
|
+--org.apache.tools.ant.types.selectors.BaseSelector
|
+--org.apache.tools.ant.types.selectors.BaseExtendSelector
|
+--xjavadoc.ant.XJavadocFilter
- All Implemented Interfaces:
- ExtendFileSelector, FileSelector, Parameterizable
- public class XJavadocFilter
- extends BaseExtendSelector
Custom file filter for Ant based on XJavadoc. Filters java sources according
to some Java specific features.
Usage:
<copy todir="filtered-src">
<fileset dir="src">
<or>
<custom classname="xjavadoc.XJavadocFilter" classpathref="lib.jars">
<parameter name="implements" value="javax.ejb.EntityBean" />
</custom>
<custom classname="xjavadoc.XJavadocFilter" classpathref="lib.jars">
<parameter name="implements" value="javax.ejb.SessionBean" />
</custom>
</or>
</fileset>
</copy>
Valid parameters are:
- implements
- full qualified name of the class or interface to implement
- contains-tag
- javadoc tag to contain
- Version:
- $Revision: 1.4 $
- Author:
- Ludovic Claude
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XJavadocFilter
public XJavadocFilter()
- Constructor for XJavadocFilter.
isSelected
public boolean isSelected(File basedir,
String filename,
File file)
throws BuildException
- Specified by:
isSelected
in interface FileSelector
- Specified by:
isSelected
in class BaseExtendSelector
- Parameters:
basedir
- filename
- file
-
- Returns:
-
- Throws:
BuildException
- See Also:
FileSelector.isSelected(File,
String, File)
Copyright © 2002-2003 XDoclet Team. All Rights Reserved.