|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.html.XmlTransformerService
public final class XmlTransformerService
This class provides methods to transform XML documents using XSLT.
Constructor Summary | |
---|---|
XmlTransformerService()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlTransformerService()
Method Detail |
---|
@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 StyleSheet
public 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 StyleSheet
public 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 parameter
public 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 parameter
public static void clearXslCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |