Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.services.xsl.XSLTransform Class Reference

List of all members.

Static Public Member Functions

static String transform (XMLObject xo, String xslResourcePath, Locale locale) throws IOException, SAXException, TransformerConfigurationException, TransformerException, ParserConfigurationException, XMLException
static String transform (Document xmlDom, String xslResourcePath, Locale locale) throws IOException, SAXException, TransformerConfigurationException, TransformerException, ParserConfigurationException, XMLException
static void transform (XMLObject xo, String xslResourcePath, Locale locale, Writer output) throws IOException, ParserConfigurationException, SAXException, TransformerException, TransformerConfigurationException, XMLException
static Document transform (Document xml, Document xsl) throws SAXException, TransformerConfigurationException, TransformerException
static String transformAsString (Document xml, Document xsl) throws IOException, SAXException, TransformerConfigurationException, TransformerException
static void transformAsString (Document xml, Document xsl, Writer output) throws IOException, SAXException, TransformerException, TransformerConfigurationException

Detailed Description

XSLTransform.java

Function:
XSL Transform as string.

Author:
zhao lei
Version:
1.0
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/23          zhao lei       INIT
 001 2005/12/31          zhao lei       delete I_Service interface 
 


Member Function Documentation

static Document org.colimas.services.xsl.XSLTransform.transform Document  xml,
Document  xsl
throws SAXException, TransformerConfigurationException, TransformerException [static]
 

Transforms the xml in another DOM according to the xsl XSLT stylesheet.

Returns:
The result of the transformation as a DOM
Parameters:
xml The XML DOM
xsl The XSL DOM

static void org.colimas.services.xsl.XSLTransform.transform XMLObject  xo,
String  xslResourcePath,
Locale  locale,
Writer  output
throws IOException, ParserConfigurationException, SAXException, TransformerException, TransformerConfigurationException, XMLException [static]
 

Method to transform an XMLObject into an XHTML string by using an XSL stylesheet.

The result of the transformation is given to the Writer given as a parameter.

Parameters:
xo The XMLObject to transform
xslResourcePath The absolute resource path to the XSL file, without any country information.
locale The information about localization of the XSL file
output Output for the transformation.
See also:
XSLServer

static String org.colimas.services.xsl.XSLTransform.transform Document  xmlDom,
String  xslResourcePath,
Locale  locale
throws IOException, SAXException, TransformerConfigurationException, TransformerException, ParserConfigurationException, XMLException [static]
 

Method to transform a DOM into an XHTML string by using an XSL stylesheet.

Returns:
An XHTML string
Parameters:
xmlDom The DOM to transform
xslResourcePath The absolute resource path to the XSL file, without any country information.
locale The information about localization of the XSL file
See also:
XSLServer

static String org.colimas.services.xsl.XSLTransform.transform XMLObject  xo,
String  xslResourcePath,
Locale  locale
throws IOException, SAXException, TransformerConfigurationException, TransformerException, ParserConfigurationException, XMLException [static]
 

Method to transform an XMLObject into an XHTML string by using an XSL stylesheet.

Returns:
An XHTML string
Parameters:
xo The XMLObject to transform
xslResourcePath The absolute resource path to the XSL file, without any country information.
locale The information about localization of the XSL file
See also:
XSLServer

static void org.colimas.services.xsl.XSLTransform.transformAsString Document  xml,
Document  xsl,
Writer  output
throws IOException, SAXException, TransformerException, TransformerConfigurationException [static]
 

Transforms the xml in a XML string to the xsl XSLT stylesheet.

The output of the transformation is put into the given Writer.

Parameters:
xml The XML DOM
xsl The XSL DOM
output Output for the transformation.

static String org.colimas.services.xsl.XSLTransform.transformAsString Document  xml,
Document  xsl
throws IOException, SAXException, TransformerConfigurationException, TransformerException [static]
 

Transforms the xml in a XML string to the xsl XSLT stylesheet.

Returns:
The result of the transformation as a DOM
Parameters:
xml The XML DOM
xsl The XSL DOM


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:38 2006 for Colimas by  doxygen 1.4.4