org.japano.metadata.annotation
Class MetadataProcessor

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.japano.metadata.annotation.MetadataProcessor
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class MetadataProcessor
extends org.apache.tools.ant.taskdefs.MatchingTask

Ant task which creates tag library definitions from javadoc attributes in pagenode and action sources. This tasks just invokes the apt command line tool with appropriate arguments.

Version:
$Id: MetadataProcessor.java,v 1.7 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Field Summary
static java.lang.String JAPANO_TAG_PREFIX
           
static java.lang.String NEWLINE
           
static java.lang.String TLD_SUFFIX
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
MetadataProcessor()
           
 
Method Summary
 void execute()
           
 void setAttrfix(boolean attrfix)
           
 void setClasspath(java.lang.String classpath)
          Setter for ant attribute classpath.
 void setIsjar(boolean isJar)
           
 void setSessionType(java.lang.String sessionType)
           
 void setSources(java.lang.String sources)
          Directory containting the sources to process.
 void setWebapp(java.lang.String webapp)
          Setter for ant attribute webapp.
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEWLINE

public static final java.lang.String NEWLINE

JAPANO_TAG_PREFIX

public static final java.lang.String JAPANO_TAG_PREFIX
See Also:
Constant Field Values

TLD_SUFFIX

public static final java.lang.String TLD_SUFFIX
See Also:
Constant Field Values
Constructor Detail

MetadataProcessor

public MetadataProcessor()
Method Detail

setWebapp

public void setWebapp(java.lang.String webapp)
Setter for ant attribute webapp.

Parameters:
webapp - New value of property webapp.

setSources

public void setSources(java.lang.String sources)
Directory containting the sources to process.

Parameters:
sources - root directory of sources

setClasspath

public void setClasspath(java.lang.String classpath)
Setter for ant attribute classpath.

Parameters:
classpath - New value of property classpath.

setAttrfix

public void setAttrfix(boolean attrfix)

setIsjar

public void setIsjar(boolean isJar)

setSessionType

public void setSessionType(java.lang.String sessionType)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException