Class CmsXmlFileTransformer


  • public class CmsXmlFileTransformer
    extends java.lang.Object
    Transforms all resources of a given type by
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsXmlFileTransformer​(CmsObject cms, java.lang.String path, java.lang.String type, java.lang.String xslName, java.io.InputStream xslStream, I_CmsReport report)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Performs the transformation on all resources of the configured type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsXmlFileTransformer

        public CmsXmlFileTransformer​(CmsObject cms,
                                     java.lang.String path,
                                     java.lang.String type,
                                     java.lang.String xslName,
                                     java.io.InputStream xslStream,
                                     I_CmsReport report)
                              throws CmsException,
                                     java.io.IOException
        Creates a new instance.
        Parameters:
        cms - the CMS context
        path - the ancestor folder under which files should be processed
        type - the resource type which should be processed
        xslName - a string containing information about where the XSL transform is coming from
        xslStream - the stream to read the XSL transformation from
        report - the report to write to
        Throws:
        CmsException - if something goes wrong
        java.io.IOException - if an IO error occurs
    • Method Detail

      • run

        public void run()
                 throws CmsException
        Performs the transformation on all resources of the configured type.
        Throws:
        CmsException - if something goes wrong