|
||||||||||
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 java.lang.String |
transformBySource(java.lang.String strXml,
byte[] baSource,
java.util.Map<java.lang.String,java.lang.String> params)
Deprecated. |
static java.lang.String |
transformBySource(java.lang.String strXml,
byte[] baSource,
java.util.Map<java.lang.String,java.lang.String> params,
java.util.Properties outputProperties)
Deprecated. |
static java.lang.String |
transformBySource(java.lang.String strXml,
javax.xml.transform.Source sourceStyleSheet,
java.util.Map<java.lang.String,java.lang.String> params,
java.util.Properties outputProperties)
Deprecated. |
java.lang.String |
transformBySourceWithXslCache(javax.xml.transform.Source sourceXml,
javax.xml.transform.Source sourceStyleSheet,
java.lang.String strStyleSheetId,
java.util.Map<java.lang.String,java.lang.String> params,
java.util.Properties outputProperties)
This method performs XSL transformation with cache. |
java.lang.String |
transformBySourceWithXslCache(java.lang.String strXml,
byte[] baSource,
java.lang.String strStyleSheetId,
java.util.Map<java.lang.String,java.lang.String> params)
This method performs XSL transformation with cache. |
java.lang.String |
transformBySourceWithXslCache(java.lang.String strXml,
byte[] baSource,
java.lang.String strStyleSheetId,
java.util.Map<java.lang.String,java.lang.String> params,
java.util.Properties outputProperties)
This method performs XSL transformation with cache. |
java.lang.String |
transformBySourceWithXslCache(java.lang.String strXml,
javax.xml.transform.Source sourceStyleSheet,
java.lang.String strStyleSheetId,
java.util.Map<java.lang.String,java.lang.String> params,
java.util.Properties outputProperties)
This method performs XSL transformation with cache. |
java.lang.String |
transformBySourceWithXslCache(java.lang.String strXml,
StyleSheet xslSource,
java.util.Map<java.lang.String,java.lang.String> params)
This method performs XSL transformation with cache. |
java.lang.String |
transformBySourceWithXslCache(java.lang.String strXml,
StyleSheet xslSource,
java.util.Map<java.lang.String,java.lang.String> params,
java.util.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 java.lang.String transformBySource(java.lang.String strXml, byte[] baSource, java.util.Map<java.lang.String,java.lang.String> params)
strXml
- The XML document contentbaSource
- The XSL sourceparams
- Parameters that can be used by the XSL stylesheet
@Deprecated public static java.lang.String transformBySource(java.lang.String strXml, byte[] baSource, java.util.Map<java.lang.String,java.lang.String> params, java.util.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 java.lang.String transformBySource(java.lang.String strXml, javax.xml.transform.Source sourceStyleSheet, java.util.Map<java.lang.String,java.lang.String> params, java.util.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 java.lang.String transformBySourceWithXslCache(java.lang.String strXml, StyleSheet xslSource, java.util.Map<java.lang.String,java.lang.String> params)
strXml
- The XML document contentxslSource
- The XSL sourceparams
- Parameters that can be used by the XSL StyleSheet
public java.lang.String transformBySourceWithXslCache(java.lang.String strXml, StyleSheet xslSource, java.util.Map<java.lang.String,java.lang.String> params, java.util.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 java.lang.String transformBySourceWithXslCache(java.lang.String strXml, byte[] baSource, java.lang.String strStyleSheetId, java.util.Map<java.lang.String,java.lang.String> params)
strXml
- The XML document contentbaSource
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheet
public java.lang.String transformBySourceWithXslCache(java.lang.String strXml, byte[] baSource, java.lang.String strStyleSheetId, java.util.Map<java.lang.String,java.lang.String> params, java.util.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 java.lang.String transformBySourceWithXslCache(java.lang.String strXml, javax.xml.transform.Source sourceStyleSheet, java.lang.String strStyleSheetId, java.util.Map<java.lang.String,java.lang.String> params, java.util.Properties outputProperties)
strXml
- The XML document contentsourceStyleSheet
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheetoutputProperties
-
public java.lang.String transformBySourceWithXslCache(javax.xml.transform.Source sourceXml, javax.xml.transform.Source sourceStyleSheet, java.lang.String strStyleSheetId, java.util.Map<java.lang.String,java.lang.String> params, java.util.Properties outputProperties)
sourceXml
- The XML document contentsourceStyleSheet
- The XSL sourcestrStyleSheetId
- The StyleSheet Idparams
- Parameters that can be used by the XSL StyleSheetoutputProperties
-
public static void clearXslCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |