package org.toobs.framework.transformpipeline.domain; import java.util.Properties; import java.util.Vector; import java.util.HashMap; /** * This is the Base Interface for all datatable domain objects * * @author gtian * @version 1.0 */ public interface IXMLTransformer { /** Holds the constant reference to the request parameter for storing the input xml vector. */ public static final String INPUT_XML_REQUEST_PARAM = "inputXMLVec"; /** Holds the constant reference to the request parameter for storing the input xml vector. */ public static final String INPUT_XSL_REQUEST_PARAM = "inputXSLVec"; /** Holds the constant reference to the request parameter for storing the input params used * in the xsl transforms. */ public static final String INPUT_PARAM_REQUEST_PARAM = "inputXSLParamVec"; public static final String USE_TRANSLETS = "xmlpipeline.UseTranslets"; public static final String USE_CHAIN = "xmlpipeline.UseChain"; public static final String CACHE_XSL_FILES = "xmlpipeline.CacheXSLFiles"; /** * Contains the transformation logic. * * @param request * @param response * @param session * @param servlet * @param document the XML Document object create by the StrutsCXDocumentBuilder * @param notransform indicates if XML document should not get transformed * * @throws StrutsCXXSLTException */ public Vector transform( Vector inputXSLs, Vector inputXMLs, HashMap inputParams) throws XMLTransformerException; public void setOutputProperties( Properties outputProperties); }