
Classes | |
| class | TemplatePool |
Public Member Functions | |
| void | appendToResponse (WOResponse response, WOContext context) |
| ERXSLTWrapper (WOContext context) | |
Static Public Member Functions | |
| static Transformer | getTransformer (String framework, String filename) |
| static NSData | transform (Transformer transformer, NSData data) throws TransformerException |
| static String | transform (Transformer transformer, String xml) throws TransformerException |
Static Package Functions | |
| [static initializer] | |
Private Member Functions | |
| boolean | isEnabled () |
| Transformer | transformer () |
Private Attributes | |
| long | current |
| long | start |
Static Private Attributes | |
| static Map | cache = new HashMap() |
| static final Logger | log = Logger.getLogger(ERXSLTWrapper.class) |
| static TemplatePool | pool = new TemplatePool() |
| static XMLReader | xmlReader |
enabled flag that decides if the transformation is applied. If not set, then only the content will be shown. stylesheet name of the XLST stylesheet (mandatory) transformerFactory name of the class for the XSLT transformer factory (optional, defaults to Xalan) framework name of the XLST stylesheet's framework (optional) data will be set to the transformed data (optional) stream will be set to the transformed data (optional) nocache flag that if set creates a new transformer instead of using the one in the cache. Useful when deleloping the stylesheet.
| ERXSLTWrapper | ( | WOContext | context | ) |
Public constructor
| context | the context |
| [static initializer] | ( | ) | [static, package] |
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Overridden to get use apply the XLST transformation on the content.
| TransformerException |
Reimplemented from ERXNonSynchronizingComponent.
| boolean isEnabled | ( | ) | [private] |
| static NSData transform | ( | Transformer | transformer, | |
| NSData | data | |||
| ) | throws TransformerException [static] |
| static String transform | ( | Transformer | transformer, | |
| String | xml | |||
| ) | throws TransformerException [static] |
| Transformer transformer | ( | ) | [private] |
Map cache = new HashMap() [static, private] |
long current [private] |
TemplatePool pool = new TemplatePool() [static, private] |
long start [private] |
XMLReader xmlReader [static, private] |
1.5.8