com.redstarhackers.craftsman.taskdefs
Class CreateAppXmlTaskImpl

java.lang.Object
  extended by Task
      extended by com.redstarhackers.craftsman.taskdefs.ModuleOrientedTask
          extended by com.redstarhackers.craftsman.taskdefs.CreateAppXmlTaskImpl
Direct Known Subclasses:
CreateAppXmlTaskImpl13, CreateAppXmlTaskImpl14

public abstract class CreateAppXmlTaskImpl
extends ModuleOrientedTask

TODO Class summary sentence. Class documentation.

Version:
$Revision: 300 $
Author:
$Author: kostya $

Constructor Summary
CreateAppXmlTaskImpl()
           
 
Method Summary
 void execute()
           
protected  java.lang.String getContextRoot(java.lang.String moduleName, java.util.List contextRoots)
           
protected  void printEJBModule(ModuleDependencyLibrary deplib, java.util.Set files, java.io.PrintWriter writer)
           
protected  void printFooter(java.io.PrintWriter writer)
           
protected abstract  void printHeader(java.io.PrintWriter writer)
           
protected  void printWebModule(ModuleDependencyLibrary deplib, java.util.Set files, java.util.List contextRoots, java.io.PrintWriter writer)
           
 
Methods inherited from class com.redstarhackers.craftsman.taskdefs.ModuleOrientedTask
getModule, getModuleBuildVersion, getModuleId, getModuleProperty, getModuleProperty, getSetting, getSetting, init, isModulePropertySet, setModuleId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateAppXmlTaskImpl

public CreateAppXmlTaskImpl()
Method Detail

execute

public void execute()

printHeader

protected abstract void printHeader(java.io.PrintWriter writer)
                             throws java.io.IOException
Throws:
java.io.IOException

printEJBModule

protected void printEJBModule(ModuleDependencyLibrary deplib,
                              java.util.Set files,
                              java.io.PrintWriter writer)
                       throws java.io.IOException
Throws:
java.io.IOException

printWebModule

protected void printWebModule(ModuleDependencyLibrary deplib,
                              java.util.Set files,
                              java.util.List contextRoots,
                              java.io.PrintWriter writer)
                       throws java.io.IOException
Throws:
java.io.IOException

printFooter

protected void printFooter(java.io.PrintWriter writer)
                    throws java.io.IOException
Throws:
java.io.IOException

getContextRoot

protected java.lang.String getContextRoot(java.lang.String moduleName,
                                          java.util.List contextRoots)