public class XslRetype extends AbstractVelocityXslTypeTransformation implements XslTypeTransformation
CONTEXT_PARAM_COMMENT, CONTEXT_PARAM_TARGET_ELEMENT, CONTEXT_PARAM_TEMPLATE_NAME
Constructor and Description |
---|
XslRetype() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureTemplate(org.apache.velocity.VelocityContext context,
Cell typeCell)
Configure the velocity template.
|
protected String |
createPropertiesFragment(Cell typeCell)
Create a XSL fragment for populating the properties of a target instance.
|
generateTemplate
getTemplateClass, loadTemplate, writeTemplate
context, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateTemplate
setContext
protected void configureTemplate(org.apache.velocity.VelocityContext context, Cell typeCell) throws TransformationException
AbstractVelocityXslTypeTransformation
configureTemplate
in class AbstractVelocityXslTypeTransformation
context
- the velocity context only filled with the default
parameters yettypeCell
- the type cellTransformationException
- if the template cannot be configured
completelyprotected String createPropertiesFragment(Cell typeCell) throws TransformationException
typeCell
- the associated type cellTransformationException
- if creating the fragment failedBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a