|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jcoderz.commons.taskdefs.XtremeDocs
public class XtremeDocs
Xtreme Documentation Ant task.
| Nested Class Summary | |
|---|---|
static class |
XtremeDocs.FormatterInfoData
The Class FormatterInfoData. |
static class |
XtremeDocs.HibernateInfoData
The Class HibernateInfoData. |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
XtremeDocs()
|
|
| Method Summary | |
|---|---|
void |
addParam(org.apache.tools.ant.types.Environment.Variable var)
Add the given property to be sent to the transformer. |
void |
addSrc(SourceDirectory src)
Set the source path to be used for this task run. |
org.apache.tools.ant.types.Path |
createClasspath()
The classpath that is used to find the classes for the DocBook formatters. |
org.apache.tools.ant.types.Path |
createDocletpath()
Additional path that is used to find the javadoc doclets. |
XtremeDocs.FormatterInfoData |
createFormatter()
Creates a new FormatterInfoData object used as nested element to describe the DocBook formatters. |
XtremeDocs.HibernateInfoData |
createHibernate()
Creates a new HibernateInfoData object used as nested element to describe the Hibernate Generator options. |
void |
execute()
Execute this task. |
boolean |
failOnError()
Returns true if this task (or subtasks) should fail on any error; false otherwise. |
org.apache.tools.ant.types.Path |
getClassPath()
Returns the classpath element. |
void |
setCclabel(String label)
Set the document type. |
void |
setCompanyLogo(String companyLogo)
Set the name of the company logo without suffix. |
void |
setCompanyName(String companyName)
Set the name of the company or organisation. |
void |
setFailonerror(boolean b)
Set whether we should fail on an error. |
void |
setFormat(String format)
Set the document format. |
void |
setIn(File f)
Sets the XML input file that contains the document. |
void |
setOut(File dir)
Set the destination directory into which the result files should be copied to. |
void |
setType(String type)
Set the document type. |
void |
setValidationOnly(boolean validationOnly)
Set the flag, whether only validation should be executed or not. |
void |
setXephome(File dir)
Set the XEP home directory. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XtremeDocs()
| Method Detail |
|---|
public void addParam(org.apache.tools.ant.types.Environment.Variable var)
var - the property to be sent to the transformer.public void setIn(File f)
f - the XML input file (log message info).public void setOut(File dir)
dir - the name of the destination directory.public void setXephome(File dir)
dir - the name of the XEP home directory.public void setType(String type)
type - the document type.public void setFormat(String format)
format - the document format.public void setCclabel(String label)
label - the cruise control label.public void setCompanyName(String companyName)
companyName - The mCompanyName to set.public void setValidationOnly(boolean validationOnly)
validationOnly - The mValidationOnly to set.public void setCompanyLogo(String companyLogo)
companyLogo - The mCompanyLogo to set.public void setFailonerror(boolean b)
b - Whether we should fail on an error.public org.apache.tools.ant.types.Path createDocletpath()
public org.apache.tools.ant.types.Path createClasspath()
public XtremeDocs.FormatterInfoData createFormatter()
public XtremeDocs.HibernateInfoData createHibernate()
public org.apache.tools.ant.types.Path getClassPath()
public boolean failOnError()
public void addSrc(SourceDirectory src)
src - an Ant FileSet object containing the compilation
source path.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - An building exception occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||