org.activemath.omdocjdom
Class ZoologyProducer

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.activemath.omdocjdom.ZoologyProducer

public class ZoologyProducer
extends org.apache.tools.ant.Task

This class produces a recorded-book presenting the items sorted and grouped by types and metadata-attributes. TODO: it wouldn't be terribly hard to make the extraction declarative where the source would be an XML file where titles and xpath expressions would be written. Date: 15 avr. 2005 Time: 20:39:55 To change this template use File | Settings | File Templates.


Field Summary
 
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
ZoologyProducer()
           
 
Method Summary
 void execute()
           
static void main(String[] args)
          for testing.
 void setBookId(String id)
           
 void setCollection(String collectionName)
           
 void setOutputFile(String file)
           
 void setTitle(String title)
           
 void setType(String type)
          Currently only supports the type exercise-by-metadata.
 
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, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoologyProducer

public ZoologyProducer()
Method Detail

setType

public void setType(String type)
Currently only supports the type exercise-by-metadata.


setOutputFile

public void setOutputFile(String file)

setCollection

public void setCollection(String collectionName)

setBookId

public void setBookId(String id)

setTitle

public void setTitle(String title)

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

main

public static void main(String[] args)
                 throws Exception
for testing.

Throws:
Exception