|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.xml.xslt.JAXPStylesheet
Field Summary | |
private static String |
ENCODING_ATTR
|
private JAXPXMLSourceFactory |
factory
|
private static String |
HTML_METHOD
|
private static String |
HTML_MIME_TYPE
|
private static String |
IDENTITY_XSL_STRING
|
private static String |
MEDIA_TYPE_ATTR
|
private static String |
METHOD_ATTR
|
private Templates |
templates
|
private static String |
TEXT_METHOD
|
private static String |
TEXT_MIME_TYPE
|
private static String |
UTF8_ENCODING
|
private static String |
XHTML_METHOD
|
private static String |
XML_METHOD
|
private static String |
XML_MIME_TYPE
|
private XMLSource |
xslSource
|
Constructor Summary | |
(package private) |
JAXPStylesheet(JAXPXMLSourceFactory factory,
XMLSource xslSource)
|
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. |
(package private) Templates |
getTemplates()
Retrieve templates object |
void |
recompute()
Construct templates object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String HTML_MIME_TYPE
private static final String XML_MIME_TYPE
private static final String TEXT_MIME_TYPE
private static final String XML_METHOD
private static final String HTML_METHOD
private static final String TEXT_METHOD
private static final String XHTML_METHOD
private static final String MEDIA_TYPE_ATTR
private static final String METHOD_ATTR
private static final String ENCODING_ATTR
private static final String UTF8_ENCODING
private static final String IDENTITY_XSL_STRING
private JAXPXMLSourceFactory factory
private XMLSource xslSource
private Templates templates
Constructor Detail |
JAXPStylesheet(JAXPXMLSourceFactory factory, XMLSource xslSource) throws SAXException, IOException
Method Detail |
public String getOutputMediaType()
Stylesheet
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
getOutputMediaType
in interface Stylesheet
public String getOutputEncoding()
Stylesheet
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
getOutputEncoding
in interface Stylesheet
public void recompute() throws SAXException, IOException
recompute
in interface Stylesheet
SAXException
IOException
Templates getTemplates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |