com.hammurapi.render
Class MultiFileJxpRenderer
java.lang.Object
com.hammurapi.render.MultiFileJxpRenderer
- All Implemented Interfaces:
- MultiFileRenderer, RenderingConstants
public class MultiFileJxpRenderer
- extends java.lang.Object
- implements MultiFileRenderer, RenderingConstants
If profile is "outline" or "outline_http" this renderer also renders e<element id>.html with default profile
and e<element id>_contents.html with contents or contents_http profile.
- Author:
- Pavel Vlasov
|
Method Summary |
java.util.List<java.io.File> |
render(java.io.File out,
java.util.Map<java.lang.String,java.lang.Object> environment,
Context context,
java.lang.String profile,
java.util.Locale locale)
Renders to the primary file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiFileJxpRenderer
public MultiFileJxpRenderer(java.lang.Object obj)
render
public java.util.List<java.io.File> render(java.io.File out,
java.util.Map<java.lang.String,java.lang.Object> environment,
Context context,
java.lang.String profile,
java.util.Locale locale)
throws RenderingException
- Description copied from interface:
MultiFileRenderer
- Renders to the primary file. May create additional files.
the primary file.
- Specified by:
render in interface MultiFileRenderer
- Parameters:
out - Primary output file.environment - Environment.context - Contextprofile - Rendering "profile", e.g. "outline", "embedded". Can be null.locale - Locale. If null then the system default locale is used.
- Returns:
- List of created files, the primary file always comes first.
- Throws:
RenderingException