com.dynamide.xsl
Class SaxonJDOMTransform

java.lang.Object
  extended by com.dynamide.xsl.SaxonJDOMTransform

public class SaxonJDOMTransform
extends java.lang.Object

I can't get the Saxon JDOM DocumentWrapper to work as advertised, for for now this class simply accepts the source and style filenames, not the JDOM node.


Field Summary
 boolean DEBUG
           
static java.io.StringWriter g_out
           
 
Constructor Summary
SaxonJDOMTransform()
           
 
Method Summary
static void main(java.lang.String[] argv)
          Method main
static java.lang.String transform(java.lang.String sourceFileName, java.lang.String styleFileName)
          transform, given only filenames.
static java.lang.String transform(java.lang.String sourceFileName, java.lang.String styleFileName, Session session)
          transform, given only filenames.
static java.lang.String transform(java.lang.String sourceFileName, java.lang.String styleFileName, Session session, boolean useDynamideController, boolean useJDOM)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public boolean DEBUG

g_out

public static java.io.StringWriter g_out
Constructor Detail

SaxonJDOMTransform

public SaxonJDOMTransform()
Method Detail

transform

public static java.lang.String transform(java.lang.String sourceFileName,
                                         java.lang.String styleFileName)
                                  throws javax.xml.transform.TransformerException,
                                         javax.xml.transform.TransformerConfigurationException,
                                         java.io.IOException,
                                         org.jdom.JDOMException
transform, given only filenames. Defaults a null session, and to NOT using the Dynamide controller and NOT using JDOM.

Throws:
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
java.io.IOException
org.jdom.JDOMException

transform

public static java.lang.String transform(java.lang.String sourceFileName,
                                         java.lang.String styleFileName,
                                         Session session)
                                  throws javax.xml.transform.TransformerException,
                                         javax.xml.transform.TransformerConfigurationException,
                                         java.io.IOException,
                                         org.jdom.JDOMException
transform, given only filenames. Defaults to using the Dynamide controller, and NOT using JDOM.

Throws:
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
java.io.IOException
org.jdom.JDOMException

transform

public static java.lang.String transform(java.lang.String sourceFileName,
                                         java.lang.String styleFileName,
                                         Session session,
                                         boolean useDynamideController,
                                         boolean useJDOM)
                                  throws javax.xml.transform.TransformerException,
                                         javax.xml.transform.TransformerConfigurationException,
                                         java.io.IOException,
                                         org.jdom.JDOMException
Throws:
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
java.io.IOException
org.jdom.JDOMException

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Method main

Throws:
java.lang.Exception


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.