org.plasma.common.xslt
Class XSLTUtils

java.lang.Object
  extended by org.plasma.common.xslt.XSLTUtils

public class XSLTUtils
extends Object


Constructor Summary
XSLTUtils()
           
 
Method Summary
static void main(String[] args)
           
 void transform(File dest, File src, URL styleSheet)
           
 void transform(File dest, File src, URL styleSheet, Properties params)
           
 String transform(String xml, URL styleSheet)
           
 String transform(String xml, URL styleSheet, Properties params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTUtils

public XSLTUtils()
Method Detail

transform

public void transform(File dest,
                      File src,
                      URL styleSheet)
               throws IOException,
                      TransformerConfigurationException,
                      TransformerException
Throws:
IOException
TransformerConfigurationException
TransformerException

transform

public void transform(File dest,
                      File src,
                      URL styleSheet,
                      Properties params)
               throws IOException,
                      TransformerConfigurationException,
                      TransformerException
Throws:
IOException
TransformerConfigurationException
TransformerException

transform

public String transform(String xml,
                        URL styleSheet)
                 throws IOException,
                        TransformerConfigurationException,
                        TransformerException
Throws:
IOException
TransformerConfigurationException
TransformerException

transform

public String transform(String xml,
                        URL styleSheet,
                        Properties params)
                 throws TransformerConfigurationException,
                        TransformerException
Throws:
TransformerConfigurationException
TransformerException

main

public static void main(String[] args)


Copyright © 2014. All rights reserved.