|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--xdoclet.xjavadoc.XJavadocMetadataProvider
MetadataProvider
implementation that returns XClass
.
Field Summary |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
XJavadocMetadataProvider()
|
Method Summary | |
void |
addFileset(FileSet fileSet)
Ant's <fileset> definition. |
void |
cleanup()
Frees any resources and does any other necessary work before shutting down. |
Collection |
createMetadataCollection()
Returns a Collection of objects that should be used as basis for code generation. It's up to the Plugins to handle the elements in the Collection. Special Plugins will expect the elements in the Collection to be of a certain type. |
String |
getFilenameSubstitutionValue(Object o)
Returns the string that will be replaced in the {0} part of the file name. |
String |
getPackageName(Object o)
Returns the package name that will be used to determine the file name. |
XJavaDoc |
getXJavaDoc()
|
void |
setClasspath(String classpath)
Sets the classpath. |
void |
setIgnoredtags(String tags)
Sets the tags to ignore if validation is true. |
void |
setValidating(boolean flag)
Sets whether or not tags will be validated. |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XJavadocMetadataProvider()
Method Detail |
public void addFileset(FileSet fileSet)
fileSet
- a fileset to addpublic XJavaDoc getXJavaDoc()
public void setIgnoredtags(String tags)
tags
- tags that should be ignored when doing validation.public void setValidating(boolean flag)
flag
- public void setClasspath(String classpath) throws XDocletException
MetadataProvider
setClasspath
in interface MetadataProvider
XDocletException
public final Collection createMetadataCollection() throws XDocletException
createMetadataCollection
in interface MetadataProvider
XClass
.
XDocletException
public String getFilenameSubstitutionValue(Object o)
MetadataProvider
getFilenameSubstitutionValue
in interface MetadataProvider
o
- the object the substitution string should be derived from.
public String getPackageName(Object o)
MetadataProvider
getPackageName
in interface MetadataProvider
o
- the object from which the package name is derived.
public void cleanup() throws XDocletException
MetadataProvider
cleanup
in interface MetadataProvider
XDocletException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |