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
|
static String |
transformBySource(String strXml,
byte[] baSource,
Map<String,String> params)
Deprecated.
|
static String |
transformBySource(String strXml,
byte[] baSource,
Map<String,String> params,
Properties outputProperties)
Deprecated.
|
static String |
transformBySource(String strXml,
Source sourceStyleSheet,
Map<String,String> params,
Properties outputProperties)
Deprecated.
|
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.
|
@Deprecated public static String transformBySource(String strXml, byte[] baSource, Map<String,String> params)
strXml - The XML document contentbaSource - The XSL sourceparams - Parameters that can be used by the XSL stylesheet@Deprecated public static String transformBySource(String strXml, byte[] baSource, Map<String,String> params, Properties outputProperties)
strXml - The XML document contentbaSource - 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.@Deprecated public static String transformBySource(String strXml, Source sourceStyleSheet, Map<String,String> params, Properties outputProperties)
strXml - The XML document contentsourceStyleSheet - 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, 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 © 2016 City of Paris. All rights reserved.