|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.transform.TransformerFactory | +--javax.xml.transform.sax.SAXTransformerFactory | +--org.apache.xalan.xsltc.trax.TransformerFactoryImpl
Implementation of a JAXP1.1 TransformerFactory for Translets.
Fields inherited from class javax.xml.transform.sax.SAXTransformerFactory |
FEATURE,
FEATURE_XMLFILTER |
Constructor Summary | |
TransformerFactoryImpl()
javax.xml.transform.sax.TransformerFactory implementation. |
Method Summary | |
void |
error(TransformerException e)
Receive notification of a recoverable error. |
void |
fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
Source |
getAssociatedStylesheet(Source source,
java.lang.String media,
java.lang.String title,
java.lang.String charset)
javax.xml.transform.sax.TransformerFactory implementation. |
java.lang.Object |
getAttribute(java.lang.String name)
javax.xml.transform.sax.TransformerFactory implementation. |
ErrorListener |
getErrorListener()
javax.xml.transform.sax.TransformerFactory implementation. |
boolean |
getFeature(java.lang.String name)
javax.xml.transform.sax.TransformerFactory implementation. |
URIResolver |
getURIResolver()
javax.xml.transform.sax.TransformerFactory implementation. |
InputSource |
loadSource(java.lang.String href,
java.lang.String context,
XSLTC xsltc)
This method implements XSLTC's SourceLoader interface. |
Templates |
newTemplates(Source source)
javax.xml.transform.sax.TransformerFactory implementation. |
TemplatesHandler |
newTemplatesHandler()
javax.xml.transform.sax.SAXTransformerFactory implementation. |
Transformer |
newTransformer()
javax.xml.transform.sax.TransformerFactory implementation. |
Transformer |
newTransformer(Source source)
javax.xml.transform.sax.TransformerFactory implementation. |
TransformerHandler |
newTransformerHandler()
javax.xml.transform.sax.SAXTransformerFactory implementation. |
TransformerHandler |
newTransformerHandler(Source src)
javax.xml.transform.sax.SAXTransformerFactory implementation. |
TransformerHandler |
newTransformerHandler(Templates templates)
javax.xml.transform.sax.SAXTransformerFactory implementation. |
XMLFilter |
newXMLFilter(Source src)
javax.xml.transform.sax.SAXTransformerFactory implementation. |
XMLFilter |
newXMLFilter(Templates templates)
javax.xml.transform.sax.SAXTransformerFactory implementation. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
javax.xml.transform.sax.TransformerFactory implementation. |
void |
setErrorListener(ErrorListener listener)
javax.xml.transform.sax.TransformerFactory implementation. |
void |
setURIResolver(URIResolver resolver)
javax.xml.transform.sax.TransformerFactory implementation. |
void |
warning(TransformerException e)
Receive notification of a warning. |
Methods inherited from class javax.xml.transform.TransformerFactory |
newInstance |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TransformerFactoryImpl()
Method Detail |
public void setErrorListener(ErrorListener listener) throws java.lang.IllegalArgumentException
listener
- The error listener to use with the TransformerFactorypublic ErrorListener getErrorListener()
public java.lang.Object getAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
name
- The attribute namepublic void setAttribute(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException
name
- The attribute namevalue
- An object representing the attribute valuepublic boolean getFeature(java.lang.String name)
name
- The feature namepublic URIResolver getURIResolver()
public void setURIResolver(URIResolver resolver)
resolver
- The URLResolver used for this TransformerFactory and all
Templates and Transformer objects created using this factorypublic Source getAssociatedStylesheet(Source source, java.lang.String media, java.lang.String title, java.lang.String charset) throws TransformerConfigurationException
source
- The XML source document.media
- The media attribute to be matched. May be null, in which
case the prefered templates will be used (i.e. alternate = no).title
- The value of the title attribute to match. May be null.charset
- The value of the charset attribute to match. May be null.public Transformer newTransformer() throws TransformerConfigurationException
public Transformer newTransformer(Source source) throws TransformerConfigurationException
public Templates newTemplates(Source source) throws TransformerConfigurationException
stylesheet
- The input stylesheet - DOMSource not supported!!!public TemplatesHandler newTemplatesHandler() throws TransformerConfigurationException
public TransformerHandler newTransformerHandler() throws TransformerConfigurationException
public TransformerHandler newTransformerHandler(Source src) throws TransformerConfigurationException
src
- The source of the transformation instructions.public TransformerHandler newTransformerHandler(Templates templates) throws TransformerConfigurationException
templates
- Represents a pre-processed stylesheetpublic XMLFilter newXMLFilter(Source src) throws TransformerConfigurationException
src
- The source of the transformation instructions.public XMLFilter newXMLFilter(Templates templates) throws TransformerConfigurationException
src
- The source of the transformation instructions.public InputSource loadSource(java.lang.String href, java.lang.String context, XSLTC xsltc)
href
- The URI of the document to loadcontext
- The URI of the currently loaded documentxsltc
- The compiler that resuests the documentpublic void error(TransformerException e) throws TransformerException
exception
- The warning information encapsulated in a transformer
exception.public void fatalError(TransformerException e) throws TransformerException
exception
- The warning information encapsulated in a transformer
exception.public void warning(TransformerException e) throws TransformerException
exception
- The warning information encapsulated in a transformer
exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |