Interface | Description |
---|---|
CauchoStylesheet |
Class | Description |
---|---|
AbstractStylesheet |
A compiled XSL stylesheet.
|
AbstractStylesheetFactory |
Abstract factory for creating stylesheets.
|
CacheableDocument |
A document wrapper allowing caching of XSL-generated content.
|
IdentityStylesheet |
A compiled XSL stylesheet.
|
JavaGenerator |
Generates code for a Java based stylesheet.
|
JavaStylesheet |
Implementation class for JavaScript stylesheets.
|
NodeTransformerImpl | |
OutputFormat |
Encapsulates the xsl:output attributes.
|
SAXFilterImpl | |
Sort | |
StreamTransformerImpl | |
StringSource |
Source for an input string.
|
StringTransformerImpl |
Transforms a document to a result string.
|
StyleScript |
Public facade for creating StyleScript stylesheets.
|
StylesheetImpl |
Implementation base class for stylesheets.
|
Template | |
TemplatesHandlerImpl | |
TransformerHandlerImpl | |
TransformerImpl | |
XmlStylesheetReader |
Handler for xml-stylesheet the resin.conf file.
|
Xsl |
Public facade for creating stylesheets.
|
XslNumberFormat |
Formatting for the xsl:number action.
|
XslWriter |
Writer stream for generating stylesheet output.
|
Exception | Description |
---|---|
TransformerConfigurationExceptionWrapper |
Represents a exception when creating a transformation.
|
TransformerExceptionWrapper |
Represents a exception when creating a transformation.
|
XslParseException |
The Caucho XSL package supports two related stylesheet languages.
XSLT (W3C 1.0) and 'StyleScript'. Strict XSLT stylesheets are
created by parsing the XML externally, then generating the stylesheet:
StylesheetFactory factory = new Xsl();
Stylesheet style = factory.newStylesheet("mystyle.xsl");
StreamTransformer transformer = style.newStreamTransformer();
WriteStream os = Vfs.openWrite("test.html");
transformer.transform("test.xml", os);
os.close();
StyleScript stylesheets just use a different stylesheet factory.
StylesheetFactory factory = new StyleScript();
Stylesheet style = factory.newStylesheet("mystyle.xsl");
StreamTransformer transformer = style.newStreamTransformer();
WriteStream os = Vfs.openWrite("test.html");
transformer.transform("test.xml", os);
os.close();