fi.hut.tml.xsmiles.xslt
Interface XSLTEngine

All Known Implementing Classes:
JaxpXSLT

public interface XSLTEngine


Method Summary
 org.w3c.dom.Document transform(org.w3c.dom.Document xml, org.w3c.dom.Document xsl, java.net.URL base_url)
          Parses xml and xsl documents passed as Documents
 org.w3c.dom.Document transform(org.w3c.dom.Document xml, java.net.URL xsl, java.net.URL base_url)
          Parses xml as Document and xsl document passed as URL's
 org.w3c.dom.Document transform(java.net.URL xml, java.net.URL xsl)
          Parses xml as Document and xsl document passed as URL's
 java.lang.String transformToString(java.net.URL xml, java.net.URL xsl)
          Parses xml and xsl documents passed as URL's Legacy method.
 

Method Detail

transform

public org.w3c.dom.Document transform(org.w3c.dom.Document xml,
                                      org.w3c.dom.Document xsl,
                                      java.net.URL base_url)
                               throws java.lang.Exception
Parses xml and xsl documents passed as Documents

Parameters:
xml - the source XML DOM document
xsl - the XSL as DOM document
Returns:
the output of the evalauted xml and xsl URL documents as a DOM document
Throws:
java.lang.Exception

transform

public org.w3c.dom.Document transform(java.net.URL xml,
                                      java.net.URL xsl)
                               throws java.lang.Exception
Parses xml as Document and xsl document passed as URL's

Parameters:
xml - the source XML DOM document
xsl - the XSLURL document
Returns:
the output of the evalauted xml and xsl URL documents as a DOM document
Throws:
java.lang.Exception

transform

public org.w3c.dom.Document transform(org.w3c.dom.Document xml,
                                      java.net.URL xsl,
                                      java.net.URL base_url)
                               throws java.lang.Exception
Parses xml as Document and xsl document passed as URL's

Parameters:
xml - the URL for the source XML
xsl - the URL of the document
Returns:
the output of the evalauted xml and xsl URL documents as a DOM document
Throws:
java.lang.Exception

transformToString

public java.lang.String transformToString(java.net.URL xml,
                                          java.net.URL xsl)
                                   throws java.lang.Exception
Parses xml and xsl documents passed as URL's Legacy method.

Parameters:
xml - URL of the xml Document
xsl - URL of the stylsheet
Returns:
the output of the evalauted xml and xsl URL documents as string
Throws:
java.lang.Exception


X-Smiles 1.2