public final class XmlTransformerService extends Object
Constructor and Description |
---|
XmlTransformerService() |
Modifier and Type | Method and Description |
---|---|
static void |
clearXslCache()
This method clean XSL transformer cache
|
String |
transformBySourceWithXslCache(Source sourceXml,
Source sourceStyleSheet,
String strStyleSheetId,
Map<String,String> params,
Properties outputProperties)
This method performs XSL transformation with cache.
|
String |
transformBySourceWithXslCache(String strXml,
byte[] baSource,
String strStyleSheetId,
Map<String,String> params)
This method performs XSL transformation with cache.
|
String |
transformBySourceWithXslCache(String strXml,
byte[] baSource,
String strStyleSheetId,
Map<String,String> params,
Properties outputProperties)
This method performs XSL transformation with cache.
|
String |
transformBySourceWithXslCache(String strXml,
Source sourceStyleSheet,
String strStyleSheetId,
Map<String,String> params,
Properties outputProperties)
This method performs XSL transformation with cache.
|
String |
transformBySourceWithXslCache(String strXml,
StyleSheet xslSource,
Map<String,String> params)
This method performs XSL transformation with cache.
|
String |
transformBySourceWithXslCache(String strXml,
StyleSheet xslSource,
Map<String,String> params,
Properties outputProperties)
This method performs XSL transformation with cache.
|
public String transformBySourceWithXslCache(String strXml, StyleSheet xslSource, Map<String,String> params)
strXml
- The XML document contentxslSource
- The XSL sourceparams
- Parameters that can be used by the XSL StyleSheetpublic String transformBySourceWithXslCache(String strXml, StyleSheet xslSource, Map<String,String> params, Properties outputProperties)
strXml
- The XML document contentxslSource
- The XSL sourceparams
- Parameters that can be used by the XSL StyleSheetoutputProperties
- Properties to use for the XSL transform. Will overload the XSL output definition.public String transformBySourceWithXslCache(String strXml, byte[] baSource, String strStyleSheetId, Map<String,String> params)
strXml
- The XML document contentbaSource
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheetpublic String transformBySourceWithXslCache(String strXml, byte[] baSource, String strStyleSheetId, Map<String,String> params, Properties outputProperties)
strXml
- The XML document contentbaSource
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheetoutputProperties
- Properties to use for the XSL transform. Will overload the XSL output definition.public String transformBySourceWithXslCache(String strXml, Source sourceStyleSheet, String strStyleSheetId, Map<String,String> params, Properties outputProperties)
strXml
- The XML document contentsourceStyleSheet
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheetoutputProperties
- the output parameterpublic String transformBySourceWithXslCache(Source sourceXml, Source sourceStyleSheet, String strStyleSheetId, Map<String,String> params, Properties outputProperties)
sourceXml
- The XML document contentsourceStyleSheet
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheetoutputProperties
- the output parameterpublic static void clearXslCache()
Copyright © 2020 City of Paris. All rights reserved.