com.geekologue.md4j.generators
Class StrutsAction1NestedJsp2Generator
java.lang.Object
com.geekologue.md4j.generators.AbstractXsltBasedGenerator
com.geekologue.md4j.generators.StrutsAction1NestedJsp2Generator
- All Implemented Interfaces:
- HibernateMappingProcessorLiason
public class StrutsAction1NestedJsp2Generator
- extends AbstractXsltBasedGenerator
- implements HibernateMappingProcessorLiason
Creates View, Create or Update JSP 2.0 pages depending on the "actionType"
XSLT param (see constructor. StrutsAction1Generator uses instances of this
class as nested generators to create it's JSPs.
- 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="jsp\2/@{actionType}.jsp" /> |
void |
init(java.util.Map context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrutsAction1NestedJsp2Generator
public StrutsAction1NestedJsp2Generator(java.util.Map xslParams)
getSimpleMapper
public org.apache.tools.ant.util.FileNameMapper getSimpleMapper()
- Equal to <regexpmapper handledirsep="true" from="(.*)/(.*).hbm.xml"
to="jsp\2/@{actionType}.jsp" />
- 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.