| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.xml.async.XSLTransformer
Applies XSL transformation in a background thread.
| Field Summary | |
| protected  int | methodToCallThe XSL transformation method to call based on input types. | 
| protected  DocumentFragment | resultTransformation result document. | 
| Constructor Summary | |
| XSLTransformer()XSLTransformer constructor | |
| XSLTransformer(int id)XSLTransformer constructor accepting an identifier | |
| Method Summary | |
|  void | addXSLTransformerErrorListener(XSLTransformerErrorListener p0)Adds an XSLTransformer error event listener | 
|  void | addXSLTransformerListener(XSLTransformerListener p0)Adds a XSLTransformer listener | 
|  int | getId()Returns the unique XSLTransformer id | 
|  DocumentFragment | getResult()Returns the document fragment for the resulting document. | 
|  void | processXSL(XSLStylesheet xsl, java.io.InputStream xml, java.net.URL ref)Initiates XSL Transformation in the background. | 
|  void | processXSL(XSLStylesheet xsl, java.io.Reader xml, java.net.URL ref)Initiates XSL Transformation in the background. | 
|  void | processXSL(XSLStylesheet xsl, java.net.URL xml, java.net.URL ref)Initiates XSL Transformation in the background. | 
|  void | processXSL(XSLStylesheet xsl, XMLDocument xml)Initiates XSL Transformation in the background. | 
|  void | processXSL(XSLStylesheet xsl, XMLDocument xml, java.io.OutputStream os)Initiates XSL Transformation in the background. | 
|  void | removeDOMTransformerErrorListener(XSLTransformerErrorListener p0)Removes an XSLTransformer error event listener | 
|  void | removeXSLTransformerListener(XSLTransformerListener p0)Removes a XSLTransformer listener | 
|  void | run()Starts a separate thread to do the XSL Transformation. | 
|  void | setErrorStream(java.io.OutputStream out)Sets the error stream used by the XSL processor | 
|  void | showWarnings(boolean yes)Sets the showWarnings flag used by the XSL processor | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected int methodToCall
protected DocumentFragment result
| Constructor Detail | 
public XSLTransformer()
public XSLTransformer(int id)
id - - A unique integer that can be used to identify the XSLTransformer instance during event processing| Method Detail | 
public int getId()
public void run()
run in interface java.lang.Runnablepublic void addXSLTransformerListener(XSLTransformerListener p0)
p0 - XSLTransformerListener to be addedpublic void addXSLTransformerErrorListener(XSLTransformerErrorListener p0)
p0 - XSLTransformerErrorListener to be addedpublic void removeXSLTransformerListener(XSLTransformerListener p0)
p0 - XSLTransformerListener to be removedpublic void removeDOMTransformerErrorListener(XSLTransformerErrorListener p0)
p0 - XSLTransformerErrorListener to be removed
public void processXSL(XSLStylesheet xsl,
XMLDocument xml)
                throws XSLException
xsl - The stylesheet to be used for XSL transformationxml - The XML document to be used (as a DOM Tree)XSLException - if an error occurs during XSL transformation
public void processXSL(XSLStylesheet xsl,
                       java.io.InputStream xml,
                       java.net.URL ref)
                throws XSLException
xsl - The stylesheet to be used for XSL transformationxml - The XML document to be used (as a java.io.InputStream)ref - Reference URL to resolve external entities in input XMLXSLException - if an error occurs during XSL transformation
public void processXSL(XSLStylesheet xsl,
                       java.io.Reader xml,
                       java.net.URL ref)
                throws XSLException
xsl - The stylesheet to be used for XSL transformationxml - The XML document to be used (as a java.io.Reader)ref - Reference URL to resolve external entities in input XMLXSLException - if an error occurs during XSL transformation
public void processXSL(XSLStylesheet xsl,
                       java.net.URL xml,
                       java.net.URL ref)
                throws XSLException
xsl - The stylesheet to be used for XSL transformationxml - The XML document to be used (as a java.net.URL)ref - Reference URL to resolve external entities in input XMLXSLException - if an error occurs during XSL transformation
public void processXSL(XSLStylesheet xsl,
XMLDocument xml,
                       java.io.OutputStream os)
                throws XSLException
xsl - The stylesheet to be used for XSL transformationxml - The XML document to be used (as a DOM Tree)os - Outputstream to which the XSL transformation result is writtenXSLException - if an error occurs during XSL transformation
public final void setErrorStream(java.io.OutputStream out)
                          throws java.io.IOException
out - The error output stream for the XSL processorjava.io.IOExceptionpublic final void showWarnings(boolean yes)
yes - Boolean indicating if XSL processor warnings to be shown or not.public DocumentFragment getResult()
| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||