org.xrn.ant
Class XMLReleaseNotes.XSLT
java.lang.Object
|
+--org.xrn.ant.XMLReleaseNotes.XSLT
- Enclosing class:
- XMLReleaseNotes
- public class XMLReleaseNotes.XSLT
- extends java.lang.Object
A class that enables to express an XSL transformation.
Inner Class Summary |
class |
XMLReleaseNotes.XSLT.Param
Copied from the org.apache.tools.ant.taskdefs.XSLTProcess.Param class: acts as a parameter wrapper |
Method Summary |
void |
addXMLCatalog(org.apache.tools.ant.types.XMLCatalog xml_catalog)
Acts as an URI resolver concerning the possible XSL transformation. |
XMLReleaseNotes.XSLT.Param |
createParam()
Enables to add XSLT additional parameters (see the Ant
XSLT task for more information). |
java.lang.String |
getXSLTLocation()
|
java.io.InputStream |
getXSLTStream()
|
void |
setPlugin(java.lang.String plugin_name)
The name of the plugin to be used. |
void |
setXSL(java.io.File xsl_file)
The path of the XSLT file to be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLReleaseNotes.XSLT
public XMLReleaseNotes.XSLT()
setXSL
public void setXSL(java.io.File xsl_file)
- The path of the XSLT file to be used.
- Parameters:
xsl_file
- the .xsl
file that will be used for the transformation
setPlugin
public void setPlugin(java.lang.String plugin_name)
- The name of the plugin to be used.
- Parameters:
plugin_name
- the name of the plugin within the jar that will be used
getXSLTStream
public java.io.InputStream getXSLTStream()
throws org.apache.tools.ant.BuildException
- Returns:
- the underling XSLT input stream
- Throws:
org.apache.tools.ant.BuildException
- if the input cannot be found
getXSLTLocation
public java.lang.String getXSLTLocation()
throws org.apache.tools.ant.BuildException
- Returns:
- the underling XSLT input stream
- Throws:
org.apache.tools.ant.BuildException
- if the input cannot be found
addXMLCatalog
public void addXMLCatalog(org.apache.tools.ant.types.XMLCatalog xml_catalog)
- Acts as an URI resolver concerning the possible XSL transformation. When some URI resolution is needed during
this transformation, the task will use this catalog (see the Ant
XMLCatalog for more information).
- Parameters:
xml_catalog
- the catalog that will be used during the XSL transformation, if necessary
createParam
public XMLReleaseNotes.XSLT.Param createParam()
- Enables to add XSLT additional parameters (see the Ant
XSLT task for more information).
- Returns:
- the parameters (and their value) that will be provided to the XSL transformation
Copyright © 2004-2005 SourceForge. All Rights Reserved.