net.sf.swan.xml.output.jaxp
Class ResultFactory

java.lang.Object
  |
  +--net.sf.swan.xml.output.jaxp.ResultFactory

public class ResultFactory
extends java.lang.Object


Constructor Summary
ResultFactory()
           
ResultFactory(javax.xml.transform.sax.SAXTransformerFactory factory)
           
 
Method Summary
protected  javax.xml.transform.sax.TransformerHandler createTransformerHandler(javax.xml.transform.Result result)
           
 java.util.Properties getOutputProperties()
           
 java.lang.String getOutputProperty(java.lang.String name)
           
 DocumentResult newDocumentResult(org.w3c.dom.Document doc)
           
 DocumentResult newDocumentResult(javax.xml.transform.Result result)
           
 FragmentResult newFragmentResult(org.w3c.dom.Node node)
           
 FragmentResult newFragmentResult(javax.xml.transform.Result result)
           
 void setOutputProperties(java.util.Properties properties)
           
 void setOutputProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultFactory

public ResultFactory()
              throws javax.xml.transform.TransformerConfigurationException,
                     javax.xml.transform.TransformerFactoryConfigurationError

ResultFactory

public ResultFactory(javax.xml.transform.sax.SAXTransformerFactory factory)
Method Detail

setOutputProperties

public void setOutputProperties(java.util.Properties properties)

getOutputProperties

public java.util.Properties getOutputProperties()

setOutputProperty

public void setOutputProperty(java.lang.String name,
                              java.lang.String value)

getOutputProperty

public java.lang.String getOutputProperty(java.lang.String name)

newFragmentResult

public FragmentResult newFragmentResult(org.w3c.dom.Node node)
                                 throws javax.xml.transform.TransformerConfigurationException

newFragmentResult

public FragmentResult newFragmentResult(javax.xml.transform.Result result)
                                 throws javax.xml.transform.TransformerConfigurationException

newDocumentResult

public DocumentResult newDocumentResult(org.w3c.dom.Document doc)
                                 throws javax.xml.transform.TransformerConfigurationException

newDocumentResult

public DocumentResult newDocumentResult(javax.xml.transform.Result result)
                                 throws javax.xml.transform.TransformerConfigurationException

createTransformerHandler

protected javax.xml.transform.sax.TransformerHandler createTransformerHandler(javax.xml.transform.Result result)
                                                                       throws javax.xml.transform.TransformerConfigurationException