Package __redirected
Class __TransformerFactory
- java.lang.Object
-
- javax.xml.transform.TransformerFactory
-
- javax.xml.transform.sax.SAXTransformerFactory
-
- __redirected.__TransformerFactory
-
public final class __TransformerFactory extends javax.xml.transform.sax.SAXTransformerFactory
A redirected TransformerFactory- Author:
- David M. Lloyd, Jason T. Greene
-
-
Constructor Summary
Constructors Constructor Description __TransformerFactory()
Construct a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
changeDefaultFactory(java.lang.String id, ModuleLoader loader)
static void
changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
Deprecated.javax.xml.transform.Source
getAssociatedStylesheet(javax.xml.transform.Source source, java.lang.String media, java.lang.String title, java.lang.String charset)
java.lang.Object
getAttribute(java.lang.String name)
javax.xml.transform.ErrorListener
getErrorListener()
boolean
getFeature(java.lang.String name)
javax.xml.transform.URIResolver
getURIResolver()
static void
init()
Deprecated.javax.xml.transform.Templates
newTemplates(javax.xml.transform.Source source)
javax.xml.transform.sax.TemplatesHandler
newTemplatesHandler()
javax.xml.transform.Transformer
newTransformer()
javax.xml.transform.Transformer
newTransformer(javax.xml.transform.Source source)
javax.xml.transform.sax.TransformerHandler
newTransformerHandler()
javax.xml.transform.sax.TransformerHandler
newTransformerHandler(javax.xml.transform.Source src)
javax.xml.transform.sax.TransformerHandler
newTransformerHandler(javax.xml.transform.Templates templates)
org.xml.sax.XMLFilter
newXMLFilter(javax.xml.transform.Source src)
org.xml.sax.XMLFilter
newXMLFilter(javax.xml.transform.Templates templates)
static void
restorePlatformFactory()
void
setAttribute(java.lang.String name, java.lang.Object value)
void
setErrorListener(javax.xml.transform.ErrorListener listener)
void
setFeature(java.lang.String name, boolean value)
void
setURIResolver(javax.xml.transform.URIResolver resolver)
java.lang.String
toString()
-
-
-
Method Detail
-
changeDefaultFactory
@Deprecated public static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
Deprecated.
-
changeDefaultFactory
public static void changeDefaultFactory(java.lang.String id, ModuleLoader loader)
-
restorePlatformFactory
public static void restorePlatformFactory()
-
init
@Deprecated public static void init()
Deprecated.Init method.
-
newTransformer
public javax.xml.transform.Transformer newTransformer(javax.xml.transform.Source source) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTransformer
in classjavax.xml.transform.TransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newTransformer
public javax.xml.transform.Transformer newTransformer() throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTransformer
in classjavax.xml.transform.TransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newTemplates
public javax.xml.transform.Templates newTemplates(javax.xml.transform.Source source) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTemplates
in classjavax.xml.transform.TransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAssociatedStylesheet
public javax.xml.transform.Source getAssociatedStylesheet(javax.xml.transform.Source source, java.lang.String media, java.lang.String title, java.lang.String charset) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
getAssociatedStylesheet
in classjavax.xml.transform.TransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
setURIResolver
public void setURIResolver(javax.xml.transform.URIResolver resolver)
- Specified by:
setURIResolver
in classjavax.xml.transform.TransformerFactory
-
getURIResolver
public javax.xml.transform.URIResolver getURIResolver()
- Specified by:
getURIResolver
in classjavax.xml.transform.TransformerFactory
-
setFeature
public void setFeature(java.lang.String name, boolean value) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
setFeature
in classjavax.xml.transform.TransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
getFeature
public boolean getFeature(java.lang.String name)
- Specified by:
getFeature
in classjavax.xml.transform.TransformerFactory
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object value)
- Specified by:
setAttribute
in classjavax.xml.transform.TransformerFactory
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in classjavax.xml.transform.TransformerFactory
-
setErrorListener
public void setErrorListener(javax.xml.transform.ErrorListener listener)
- Specified by:
setErrorListener
in classjavax.xml.transform.TransformerFactory
-
getErrorListener
public javax.xml.transform.ErrorListener getErrorListener()
- Specified by:
getErrorListener
in classjavax.xml.transform.TransformerFactory
-
newTransformerHandler
public javax.xml.transform.sax.TransformerHandler newTransformerHandler(javax.xml.transform.Source src) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTransformerHandler
in classjavax.xml.transform.sax.SAXTransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newTransformerHandler
public javax.xml.transform.sax.TransformerHandler newTransformerHandler(javax.xml.transform.Templates templates) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTransformerHandler
in classjavax.xml.transform.sax.SAXTransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newTransformerHandler
public javax.xml.transform.sax.TransformerHandler newTransformerHandler() throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTransformerHandler
in classjavax.xml.transform.sax.SAXTransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newTemplatesHandler
public javax.xml.transform.sax.TemplatesHandler newTemplatesHandler() throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newTemplatesHandler
in classjavax.xml.transform.sax.SAXTransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newXMLFilter
public org.xml.sax.XMLFilter newXMLFilter(javax.xml.transform.Source src) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newXMLFilter
in classjavax.xml.transform.sax.SAXTransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
newXMLFilter
public org.xml.sax.XMLFilter newXMLFilter(javax.xml.transform.Templates templates) throws javax.xml.transform.TransformerConfigurationException
- Specified by:
newXMLFilter
in classjavax.xml.transform.sax.SAXTransformerFactory
- Throws:
javax.xml.transform.TransformerConfigurationException
-
-