org.carrot2.util.attribute
Class BindableMetadataSerializerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.carrot2.util.attribute.BindableMetadataSerializerTask
All Implemented Interfaces:
Cloneable

public final class BindableMetadataSerializerTask
extends org.apache.tools.ant.Task

An ANT task for building XML metadata for classes annotated with Bindable.


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
BindableMetadataSerializerTask()
           
 
Method Summary
 void add(org.apache.tools.ant.types.ResourceCollection res)
          Add a collection of resources to process.
 void addConfiguredFileset(org.apache.tools.ant.types.FileSet set)
          Add a set of files to process.
 org.apache.tools.ant.types.Path createCommonMetadata()
          Create nested element for common metadata files.
 void execute()
          Execute the task.
 void setDestdir(File destDir)
          Set destination directory.
 void setProject(org.apache.tools.ant.Project project)
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindableMetadataSerializerTask

public BindableMetadataSerializerTask()
Method Detail

setProject

public void setProject(org.apache.tools.ant.Project project)
Overrides:
setProject in class org.apache.tools.ant.ProjectComponent

setDestdir

public void setDestdir(File destDir)
Set destination directory.


addConfiguredFileset

public void addConfiguredFileset(org.apache.tools.ant.types.FileSet set)
Add a set of files to process.


createCommonMetadata

public org.apache.tools.ant.types.Path createCommonMetadata()
Create nested element for common metadata files.


add

public void add(org.apache.tools.ant.types.ResourceCollection res)
Add a collection of resources to process.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute the task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright (c) Dawid Weiss, Stanislaw Osinski