org.osjava.jardiff.ant
Class JDXSLTProcess.StyleMapper

java.lang.Object
  extended by org.osjava.jardiff.ant.JDXSLTProcess.StyleMapper
All Implemented Interfaces:
org.apache.tools.ant.util.FileNameMapper
Enclosing class:
JDXSLTProcess

private class JDXSLTProcess.StyleMapper
extends java.lang.Object
implements org.apache.tools.ant.util.FileNameMapper

Mapper implementation of the "traditional" way <xslt> mapped filenames.

If the file has an extension, chop it off. Append whatever the user has specified as extension or ".html".

Since:
Ant 1.6.2

Constructor Summary
private JDXSLTProcess.StyleMapper()
           
 
Method Summary
 java.lang.String[] mapFileName(java.lang.String xmlFile)
           
 void setFrom(java.lang.String from)
           
 void setTo(java.lang.String to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDXSLTProcess.StyleMapper

private JDXSLTProcess.StyleMapper()
Method Detail

setFrom

public void setFrom(java.lang.String from)
Specified by:
setFrom in interface org.apache.tools.ant.util.FileNameMapper

setTo

public void setTo(java.lang.String to)
Specified by:
setTo in interface org.apache.tools.ant.util.FileNameMapper

mapFileName

public java.lang.String[] mapFileName(java.lang.String xmlFile)
Specified by:
mapFileName in interface org.apache.tools.ant.util.FileNameMapper