org.alfresco.web.forms
Class XSLFORenderingEngine
java.lang.Object
org.alfresco.web.forms.XSLTRenderingEngine
org.alfresco.web.forms.XSLFORenderingEngine
- All Implemented Interfaces:
- java.io.Serializable, RenderingEngine
public class XSLFORenderingEngine
- extends XSLTRenderingEngine
A rendering engine which uses xsl-fo templates to generate renditions of
form instance data.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getDefaultTemplateFileExtension()
Returns the default file extension for rendering engine templates for this
rendering engine. |
java.lang.String |
getName()
Returns the rendering engines name. |
void |
render(java.util.Map model,
RenderingEngineTemplate ret,
java.io.OutputStream out)
Renders the xml data in to a presentation format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLFORenderingEngine
public XSLFORenderingEngine()
getName
public java.lang.String getName()
- Description copied from interface:
RenderingEngine
- Returns the rendering engines name.
- Specified by:
getName
in interface RenderingEngine
- Overrides:
getName
in class XSLTRenderingEngine
- Returns:
- the name of the rendering engine.
getDefaultTemplateFileExtension
public java.lang.String getDefaultTemplateFileExtension()
- Description copied from interface:
RenderingEngine
- Returns the default file extension for rendering engine templates for this
rendering engine.
- Specified by:
getDefaultTemplateFileExtension
in interface RenderingEngine
- Overrides:
getDefaultTemplateFileExtension
in class XSLTRenderingEngine
- Returns:
- the default file extension for rendering engine templates for this
rendering engine.
render
public void render(java.util.Map model,
RenderingEngineTemplate ret,
java.io.OutputStream out)
throws java.io.IOException,
RenderingEngine.RenderingException,
org.xml.sax.SAXException
- Description copied from interface:
RenderingEngine
- Renders the xml data in to a presentation format.
- Specified by:
render
in interface RenderingEngine
- Overrides:
render
in class XSLTRenderingEngine
- Parameters:
model
- The modelret
- the rendering engine templateout
- The output stream to write to
- Throws:
java.io.IOException
RenderingEngine.RenderingException
org.xml.sax.SAXException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.