Class XslTransform


  • public final class XslTransform
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Constructor Summary

      Constructors 
      Constructor Description
      XslTransform()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String renderTemplate​(java.lang.String template, java.lang.String data)  
      static org.w3c.dom.Document transform​(java.util.Map<java.lang.String,​java.lang.Object> context, java.util.Map<java.lang.String,​java.lang.Object> params)
      Deprecated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • XslTransform

        public XslTransform()
    • Method Detail

      • renderTemplate

        public static java.lang.String renderTemplate​(java.lang.String template,
                                                      java.lang.String data)
                                               throws javax.xml.transform.TransformerException
        Parameters:
        template - the content or url of the xsl template
        data - the content or url of the xml data file
        Throws:
        javax.xml.transform.TransformerException
      • transform

        @Deprecated
        public static org.w3c.dom.Document transform​(java.util.Map<java.lang.String,​java.lang.Object> context,
                                                     java.util.Map<java.lang.String,​java.lang.Object> params)
                                              throws GeneralException,
                                                     java.io.IOException,
                                                     javax.xml.transform.TransformerConfigurationException,
                                                     javax.xml.transform.TransformerException
        Deprecated.
        Throws:
        GeneralException
        java.io.IOException
        javax.xml.transform.TransformerConfigurationException
        javax.xml.transform.TransformerException