|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Java handle to an XSLT stylesheet. Use XMLSourceFactory.newStylesheet(XMLSource)
to create new instances.
Supported API: true
Extendable: false
XMLSourceFactory.newStylesheet(wt.util.xml.xslt.XMLSource)
Method Summary | |
String |
getOutputEncoding()
The character encoding specified in the XSLT stylesheet in the encoding
attribute of the xsl:output element of the stylesheet. |
String |
getOutputMediaType()
The output media type specified in the XSLT stylesheet in the media-type
attribute of the xsl:output element of the stylesheet. |
void |
recompute()
Causes the stylesheet object to be recomputed from the source from which it was obtained. |
Method Detail |
public String getOutputMediaType()
media-type
attribute of the xsl:output
element of the stylesheet.
If the xsl:output
element looks like:
<xsl:output method="xml" indent="yes" media-type="image/svg"/>then the media type returned will be "image/svg".
See The XSLT
1.0 Recommendation for more information.
Supported API: true
public String getOutputEncoding()
encoding
attribute of the xsl:output
element of the stylesheet.
If the xsl:output
element looks like:
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>then the encoding returned will be "iso-8859-1".
See The XSLT
1.0 Recommendation for more information.
Supported API: true
public void recompute() throws SAXException, IOException
SAXException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |