Class XsltTransformerYFormPreprocessorStrategy
java.lang.Object
de.hybris.platform.xyformsfacades.strategy.preprocessor.TransformerYFormPreprocessorStrategy
de.hybris.platform.xyformsfacades.strategy.preprocessor.XsltTransformerYFormPreprocessorStrategy
- All Implemented Interfaces:
YFormPreprocessorStrategy
Processor that applies XSLT Transformations to a formData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetXsltStream(InputStream xsltStream) protected Stringtransform(InputStream xsltStream, InputStream xmlStream) protected Stringtransform(InputStream xsltStream, InputStream xmlStream, Map<String, Object> transformParameters) protected StringApplies the actual transformation to a formDataMethods inherited from class de.hybris.platform.xyformsfacades.strategy.preprocessor.TransformerYFormPreprocessorStrategy
getFormDataContent, getYFormFacade, process, process, save, setYFormFacade, validate
-
Constructor Details
-
XsltTransformerYFormPreprocessorStrategy
public XsltTransformerYFormPreprocessorStrategy()
-
-
Method Details
-
transform
protected String transform(String xmlContent, Map<String, Object> params) throws YFormProcessorExceptionDescription copied from class:TransformerYFormPreprocessorStrategyApplies the actual transformation to a formData- Specified by:
transformin classTransformerYFormPreprocessorStrategy- Throws:
YFormProcessorException
-
transform
protected String transform(InputStream xsltStream, InputStream xmlStream) throws YFormProcessorException - Throws:
YFormProcessorException
-
transform
protected String transform(InputStream xsltStream, InputStream xmlStream, Map<String, Object> transformParameters) throws YFormProcessorException- Throws:
YFormProcessorException
-
setXsltStream
- Throws:
IOException
-