|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.xml.parser.v2.XSLStylesheet
The class holds XSL stylesheet information such as templates, keys, variables, and attribute sets. The same stylesheet, once constructed, can be used to transform multiple XML documents.
| Constructor Summary | |
XSLStylesheet()Deprecated. Use XSLProcessor.newXSLStylesheet instead |
|
XSLStylesheet(java.io.InputStream xsl, java.net.URL ref)Deprecated. Use XSLProcessor.newXSLStylesheet instead |
|
XSLStylesheet(java.io.Reader xsl, java.net.URL ref)Deprecated. Use XSLProcessor.newXSLStylesheet instead |
|
XSLStylesheet(java.net.URL xsl, java.net.URL ref)Deprecated. Use XSLProcessor.newXSLStylesheet instead |
|
XSLStylesheet(XMLDocument xsl, java.net.URL ref)Deprecated. Use XSLProcessor.newXSLStylesheet instead |
|
| Method Summary | |
void |
error(java.lang.String msg, int errId)Deprecated. |
void |
execute(XSLTContext context)Deprecated. should use XSLProcessor.processXSL function |
java.lang.String |
getOutputEncoding()Get the value of the encoding specified in xsl:output |
java.lang.String |
getOutputMediaType()Get the value of the media-type specified in xsl:output |
java.util.Properties |
getOutputProperties()Gets the output properties of the stylesheet |
Transformer |
newTransformer()Create a new Transformer for XSL Transformation |
void |
removeParam(java.lang.String name)Deprecated. use XSLProcessor.removeParam to ensure thread safety |
void |
resetParams()Deprecated. use XSLProcessor.resetParams to ensure thread safety |
void |
setParam(java.lang.String name, java.lang.String value)Deprecated. use XSLProcessor.setParams to ensure thread safety |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XSLStylesheet()
throws XSLException
XSLException - on error.
public XSLStylesheet(XMLDocument xsl,
java.net.URL ref)
throws XSLException
xsl - XSL input as a DOM Treeref - Reference URL for include, importXSLException - on error.
public XSLStylesheet(java.io.InputStream xsl,
java.net.URL ref)
throws XSLException
xsl - XSL input as an Inputstreamref - Reference URL for include, import and external entitiesXSLException - on error.
public XSLStylesheet(java.net.URL xsl,
java.net.URL ref)
throws XSLException
xsl - XSL input as a URLref - Reference URL for include, import and external entitiesXSLException - on error.
public XSLStylesheet(java.io.Reader xsl,
java.net.URL ref)
throws XSLException
xsl - XSL input as a Readerref - Reference URL for include, import and external entitiesXSLException - on error.| Method Detail |
public java.lang.String getOutputMediaType()
xsl:outputpublic java.lang.String getOutputEncoding()
xsl:output
public void removeParam(java.lang.String name)
throws XSLException
name - parameter nameXSLException - on error
public void resetParams()
throws XSLException
XSLException - on error
public void setParam(java.lang.String name,
java.lang.String value)
throws XSLException
name - parameter namevalue - parameter value as an XPath expressionXSLException - on error
public void execute(XSLTContext context)
throws XSLException
context - XSLTContext used for XSL processingXSLException - on error
public void error(java.lang.String msg,
int errId)
throws XSLException
XSLExceptionpublic java.util.Properties getOutputProperties()
getOutputProperties in interface Templatespublic Transformer newTransformer()
newTransformer in interface Templates
|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||