Package org.opencms.xml
Class CmsXmlFileTransformer
- java.lang.Object
-
- org.opencms.xml.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 voidrun()Performs the transformation on all resources of the configured type.
-
-
-
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 contextpath- the ancestor folder under which files should be processedtype- the resource type which should be processedxslName- a string containing information about where the XSL transform is coming fromxslStream- the stream to read the XSL transformation fromreport- the report to write to- Throws:
CmsException- if something goes wrongjava.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
-
-