Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
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.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 nameXSLException
- on errorpublic void resetParams() throws XSLException
XSLException
- on errorpublic void setParam(java.lang.String name, java.lang.String value) throws XSLException
name
- parameter namevalue
- parameter value as an XPath expressionXSLException
- on errorpublic void execute(XSLTContext context) throws XSLException
context
- XSLTContext used for XSL processingXSLException
- on errorpublic void error(java.lang.String msg, int errId) throws XSLException
XSLException
public java.util.Properties getOutputProperties()
getOutputProperties
in interface Templates
public Transformer newTransformer()
newTransformer
in interface Templates