com.geekologue.md4j.generators
Class StrutsAction1NestedFormBeanGenerator
java.lang.Object
com.geekologue.md4j.generators.AbstractXsltBasedGenerator
com.geekologue.md4j.generators.StrutsAction1NestedFormBeanGenerator
- All Implemented Interfaces:
- HibernateMappingProcessorLiason
public class StrutsAction1NestedFormBeanGenerator
- extends AbstractXsltBasedGenerator
- implements HibernateMappingProcessorLiason
Creates Search or CRUD Struts 1.x Action Form Beans depending on the
"actionType" XSLT param (see constructor. StrutsAction1Generator uses
instances of this class as nested generators to create Struts Form Bean Java
classes.
- Author:
- manos
Method Summary |
org.apache.tools.ant.util.FileNameMapper |
getNestedMapper()
Implementations must return a nested structure mapper |
org.apache.tools.ant.util.FileNameMapper |
getSimpleMapper()
Equal to <regexpmapper handledirsep="true" from="(.*)/(.*).hbm.xml"
to="\1/web/\2@{actionType}Form.java" /> |
void |
init(java.util.Map context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrutsAction1NestedFormBeanGenerator
public StrutsAction1NestedFormBeanGenerator(java.util.Map xslParams)
getSimpleMapper
public org.apache.tools.ant.util.FileNameMapper getSimpleMapper()
- Equal to <regexpmapper handledirsep="true" from="(.*)/(.*).hbm.xml"
to="\1/web/\2@{actionType}Form.java" />
- Specified by:
getSimpleMapper
in class AbstractXsltBasedGenerator
- Returns:
- the simple mapper
- See Also:
com.geekologue.md4j.tools.ant.HibernateMappingProcessorLiason#getSimpleMapper()
getNestedMapper
public org.apache.tools.ant.util.FileNameMapper getNestedMapper()
- Description copied from class:
AbstractXsltBasedGenerator
- Implementations must return a nested structure mapper
- Specified by:
getNestedMapper
in class AbstractXsltBasedGenerator
- Returns:
- the nested mapper
- See Also:
com.geekologue.md4j.tools.ant.HibernateMappingProcessorLiason#getSimpleMapper()
init
public void init(java.util.Map context)
- Specified by:
init
in interface HibernateMappingProcessorLiason
- Overrides:
init
in class AbstractXsltBasedGenerator
- See Also:
com.geekologue.md4j.tools.ant.generators.HibernateMappingProcessorLiason#init(com.geekologue.md4j.tools.ant.HibernateMappingProcessorTask)
Copyright © 2003-2007 Manos Batsis. All Rights Reserved.