Package org.eclipse.wst.xsl.invoker
public class JAXPSAXProcessorInvoker extends java.lang.ObjectAn implementation of
IProcessorInvoker that uses JAXP as the underlying
transformation mechanism.Constructor Summary |
JAXPSAXProcessorInvoker() |
Method Summary | |
public void | addStylesheet(java.net.URL stylesheet
,
java.util.Map parameters
,
java.util.Properties outputProperties
,
javax.xml.transform.URIResolver resolver) |
protected javax.xml.transform.Transformer | addStylesheet(javax.xml.transform.Source source
,
javax.xml.transform.URIResolver resolver
,
java.util.Map parameters
,
java.util.Properties outputProperties) |
protected org.xml.sax.XMLReader | createReader() |
protected javax.xml.transform.TransformerFactory | createTransformerFactory() |
public void | setFeatures(java.util.Map features) |
public void | transform(java.net.URL sourceURL
,
javax.xml.transform.Result res) |
public void | transform(org.xml.sax.InputSource inputsource
,
javax.xml.transform.Result res)Transform using an InputSource rather than a URL |
Constructor Detail |
public JAXPSAXProcessorInvoker()
Create a new instance of this.
Methods Detail |
public void addStylesheet(java.net.URL stylesheet
,
java.util.Map parameters
,
java.util.Properties outputProperties
,
javax.xml.transform.URIResolver resolver)
stylesheet
parameters
outputProperties
resolver
javax.xml.transform.TransformerConfigurationException
protected javax.xml.transform.Transformer addStylesheet(javax.xml.transform.Source source
,
javax.xml.transform.URIResolver resolver
,
java.util.Map parameters
,
java.util.Properties outputProperties)
source
resolver
parameters
outputProperties
javax.xml.transform.Transformer
javax.xml.transform.TransformerConfigurationException
protected org.xml.sax.XMLReader createReader()
org.xml.sax.XMLReader
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
protected javax.xml.transform.TransformerFactory createTransformerFactory()
javax.xml.transform.TransformerFactory
public void setFeatures(java.util.Map features)
features
javax.xml.transform.TransformerFactoryConfigurationError
public void transform(java.net.URL sourceURL
,
javax.xml.transform.Result res)
sourceURL
res
org.eclipse.wst.xsl.invoker.TransformationException
public void transform(org.xml.sax.InputSource inputsource
,
javax.xml.transform.Result res)
Transform using an InputSource rather than a URL
inputsource - the InputSource to use
res - the Result
org.eclipse.wst.xsl.invoker.TransformationException - if an error occurred during transformation