| 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
oracle.xml.async.XSLTransformer
Deprecated. Applies XSL transformation in a background thread.
public class XSLTransformer
| Constructor Summary | |
|---|---|
XSLTransformer()Deprecated. XSLTransformer constructor  | 
|
XSLTransformer(int id)Deprecated. XSLTransformer constructor accepting an identifier  | 
|
| Method Summary | |
|---|---|
 void | 
addXSLTransformerErrorListener(XSLTransformerErrorListener p0)Deprecated. Adds an XSLTransformer error event listener  | 
 void | 
addXSLTransformerListener(XSLTransformerListener p0)Deprecated. Adds a XSLTransformer listener  | 
 int | 
getId()Deprecated. Returns the unique XSLTransformer id  | 
 DocumentFragment | 
getResult()Deprecated. Returns the document fragment for the resulting document.  | 
 void | 
processXSL(XSLStylesheet xsl, java.io.InputStream xml, java.net.URL ref)Deprecated. Initiates XSL Transformation in the background.  | 
 void | 
processXSL(XSLStylesheet xsl, java.io.Reader xml, java.net.URL ref)Deprecated. Initiates XSL Transformation in the background.  | 
 void | 
processXSL(XSLStylesheet xsl, java.net.URL xml, java.net.URL ref)Deprecated. Initiates XSL Transformation in the background.  | 
 void | 
processXSL(XSLStylesheet xsl, XMLDocument xml)Deprecated. Initiates XSL Transformation in the background.  | 
 void | 
processXSL(XSLStylesheet xsl, XMLDocument xml, java.io.OutputStream os)Deprecated. Initiates XSL Transformation in the background.  | 
 void | 
removeDOMTransformerErrorListener(XSLTransformerErrorListener p0)Deprecated. Removes an XSLTransformer error event listener  | 
 void | 
removeXSLTransformerListener(XSLTransformerListener p0)Deprecated. Removes a XSLTransformer listener  | 
 void | 
run()Deprecated. Starts a separate thread to do the XSL Transformation.  | 
 void | 
setErrorStream(java.io.OutputStream out)Deprecated. Sets the error stream used by the XSL processor  | 
 void | 
setXSLTVersion(XSLProcessor.XSLTVersion ver)Deprecated. Sets the XSLT Version flag used by the XSL processor  | 
 void | 
showWarnings(boolean yes)Deprecated. Sets the showWarnings flag used by the XSL processor  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| 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 final void setXSLTVersion(XSLProcessor.XSLTVersion ver)
version - XSLTVersion.XSLT10 or XSLTVersion.XSLT20public DocumentFragment getResult()
  | 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.