|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
Type | Method |
---|---|
void |
error(java.lang.String msg,
int errId)
Deprecated. |
void |
error(oracle.xml.parser.v2.XSLNode dnode,
java.lang.String msg,
int errId)
Deprecated. |
void |
execute(XSLTContext context)
Deprecated. should use XSLProcessor.processXSL function |
java.text.DecimalFormatSymbols |
getDecimalFormat(oracle.xml.util.NSNameImpl nsname)
Gets the decimal format of the stylesheet. |
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 |
oracle.xml.parser.v2.XSLOutput |
getXSLOutput()
|
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 |
Constructor Detail |
public XSLStylesheet() throws XSLException
public XSLStylesheet(XMLDocument xsl, java.net.URL ref) throws XSLException
xsl
- XSL input as a DOM Treeref
- Reference URL for include, importpublic XSLStylesheet(java.io.InputStream xsl, java.net.URL ref) throws XSLException
xsl
- XSL input as an Inputstreamref
- Reference URL for include, import and external entitiespublic XSLStylesheet(java.net.URL xsl, java.net.URL ref) throws XSLException
xsl
- XSL input as a URLref
- Reference URL for include, import and external entitiespublic XSLStylesheet(java.io.Reader xsl, java.net.URL ref) throws XSLException
xsl
- XSL input as a Readerref
- Reference URL for include, import and external entitiesMethod Detail |
public java.lang.String getOutputMediaType()
xsl:output
public java.lang.String getOutputEncoding()
xsl:output
public void removeParam(java.lang.String name) throws XSLException
name
- parameter namepublic void resetParams() throws XSLException
public void setParam(java.lang.String name, java.lang.String value) throws XSLException
name
- parameter namevalue
- parameter value as an XPath expressionpublic void execute(XSLTContext context) throws XSLException
context
- XSLTContext used for XSL processingpublic java.text.DecimalFormatSymbols getDecimalFormat(oracle.xml.util.NSNameImpl nsname)
nsname
- the NSNameImpl of the sytlesheetpublic void error(java.lang.String msg, int errId) throws XSLException
public void error(oracle.xml.parser.v2.XSLNode dnode, java.lang.String msg, int errId) throws XSLException
public java.util.Properties getOutputProperties()
public Transformer newTransformer()
public oracle.xml.parser.v2.XSLOutput getXSLOutput()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |