Class 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

      Constructors 
      Modifier Constructor Description
      private StyleMapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • StyleMapper

        private 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