org.jwarp.service.display
Interface IDisplayService
- All Superinterfaces:
- IConfigurable, IExceptionProvider, IService
- All Known Subinterfaces:
- IXSLTService
- public interface IDisplayService
- extends IService
The XSLT Service is used to transform xml with a xsl stylesheet.
The service makes use of the Xalan xslt engine available from apache.
- Version:
- 1.0
- Author:
- Anatole Tresch
|
Method Summary |
void |
display(java.lang.String mappingName,
java.io.Reader in)
Uses an xsl file to transform xml input from a reader and writes the output to a writer. |
java.lang.String[] |
getMappings()
Get the currently defiuned mappings 3return The current mappings |
| Methods inherited from interface org.jwarp.service.IService |
checkContext, getDependencies, getLogLevel, getName, getStatus, getType, resume, setContext, setDependencies, setLogLevel, shutdown, start, suspend |
SERVICE_TYPE
public static final java.lang.String SERVICE_TYPE
getMappings
public java.lang.String[] getMappings()
- Get the currently defiuned mappings 3return The current mappings
display
public void display(java.lang.String mappingName,
java.io.Reader in)
throws java.lang.Exception
- Uses an xsl file to transform xml input from a reader and writes the output to a writer.
- Parameters:
xslName - The name of the file that contains the xsl stylesheet.in - The reader that passes the xml to be transformedout - The writer for the transformed output