com.alveole.interfaces
Interface XsltResultHandler
- All Known Implementing Classes:
- Struts2XsltFileHandler
public interface XsltResultHandler
This interface should be implemented to handle XSLT result file
writing.
This kind of interface is called on saving project, to create resulting files (such
as struts.xml file).
This plugin is called at the end of a XSLT transform process in
plugin com.alveole.studio.xsltfilters.
That plugin enables to specify one or more XSLT transforms that are called in cascade
to perform changes. XsltResultHandler is called at the end of the process to apply the
last transform and to store result on a file.
- Author:
- sylvain
- See Also:
com.alveole.studio.xsltfilters.
Method Summary |
void |
writeXsltResult(Project project,
java.lang.String xsltId,
java.lang.String xsltFile,
org.w3c.dom.Document document)
Write file to any target. |
writeXsltResult
void writeXsltResult(Project project,
java.lang.String xsltId,
java.lang.String xsltFile,
org.w3c.dom.Document document)
- Write file to any target. Target file is specific to implementations.
Usually, these types of plugins may be parametrized to specify a target file.
Parameters are then stored in project properties.
- Parameters:
project
- The current project.xsltId
- A ID that is used to identify the type of XSLT transform.xsltFile
- The path to the option XSLT tranform file.document
- The document to be transformed.