de.uplanet.lucy.server.auxiliaries
Class RendererFactory

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.RendererFactory

@VelocityCallable(value="singleton")
public class RendererFactory
extends java.lang.Object

Version:
$Revision: 75760 $

Constructor Summary
RendererFactory()
           
 
Method Summary
 IRenderer createBooleanRendererWithParameters(IRenderingContext p_ctx, java.lang.String p_strDefaultOutputValue, java.lang.String p_strValueTrue, java.lang.String p_strValueFalse)
           
 IRenderer createColorModifierRenderer()
           
 IRenderer createCurrencyRendererWithParameters(IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, java.lang.String p_strDecSep, java.lang.String p_strGroupSep, java.lang.Integer p_iFracDigits, java.lang.Boolean p_bLeadingNulls)
           
 IRenderer createDateRendererWithParameters(IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, java.lang.String p_strDateFormat, java.lang.String p_strTimeZone)
           
 IRenderer createDateTimeRendererUTC(IRenderingContext p_ctx)
           
 IRenderer createDateTimeRendererWithParameters(IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, java.lang.String p_strDateFormat, java.lang.String p_strTimeFormat, java.lang.String p_strTimeZone)
           
 IRenderer createDefaultActiveContentStrippingRenderer()
           
 IRenderer createDefaultBooleanRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultColorRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultCurrencyRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultDateTimeRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultDoubleRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultDurationRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultEncodingRenderer(boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue)
           
 IRenderer createDefaultHtmlEncodingRenderer()
           
 IRenderer createDefaultIntegerRenderer(IRenderingContext p_ctx)
           
 IRenderer createDefaultJavaScriptLiteralRenderer()
           
 IRenderer createDefaultMailToRenderer()
           
 IRenderer createDefaultToolTipRenderer()
           
 IRenderer createDefaultUriRenderer()
           
 IRenderer createDefaultXmlEncodingRenderer()
           
 IRenderer createDoubleRendererWithParameters(IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, java.lang.String p_strDecSep, java.lang.String p_strGroupSep, java.lang.Integer p_iFracDigits, java.lang.Boolean p_bLeadingNulls)
           
 IRenderer createHtmlMarkupStrippingRenderer()
           
 IRenderer createHtmlRemoveRenderer(boolean p_bInsertBR, boolean p_bFilterHtml, java.lang.String p_strDefaultOutput)
           
 IRenderer createHtmlRemoveRendererPipe(boolean p_bInsertBR, int p_iLengthLimit, java.lang.String p_strMoreMarker)
           
 IRenderer createIntegerRendererWithParameters(IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, java.lang.String p_strGroupSep)
           
 IRenderer createJavaScriptDateTimeRenderer(IRenderingContext p_ctx)
           
 IRenderer createJSONRenderer()
           
 IRenderer createMailToRendererWithParameters(IRenderingContext p_ctx, java.lang.String p_strDefaultOutputValue)
           
 IRenderer createNumeralRenderer(IRenderingContext p_ctx)
           
 IRenderer createPinboardDateRenderer(java.lang.String p_strSince, java.lang.String p_strIn, java.lang.String p_strDay, java.lang.String p_strDays, java.lang.String p_strHour, java.lang.String p_strHours, java.lang.String p_strMinute, java.lang.String p_strMinutes)
           
 IRenderer createRenderer(IRenderingContext p_ctx, java.lang.String p_strClass)
           
 IRenderer createSimpleTextRenderer(java.lang.String p_strDefaultOutputValue)
           
 IRenderer createTextAreaHtmlRendererPipe(boolean p_bInsertBR, boolean p_bCloseOpenTags, boolean p_bFilterActiveContent, int p_iLengthLimit)
           
 IRenderer createTextAreaHtmlRendererPipeWithDefaultOutput(boolean p_bInsertBR, boolean p_bCloseOpenTags, boolean p_bFilterActiveContent, int p_iLengthLimit, java.lang.String p_strDefaultOutput)
           
 IRenderer createTextAreaHtmlRendererWithParameters(boolean p_bInsertBR, boolean p_bJsEncode, boolean p_bCloseOpenTags, boolean p_bActiveContentStripping, java.lang.String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, java.lang.String p_strMoreMarker)
           
 IRenderer createTextAreaHtmlRendererWithParameters(boolean p_bInsertBR, boolean p_bCloseOpenTags, boolean p_bActiveContentStripping, java.lang.String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, java.lang.String p_strMoreMarker)
           
 IRenderer createTextAreaRendererPipe(boolean p_bHtmlEncode, boolean p_bJavaEncode, boolean p_bInsertBR, int p_iLengthLimit)
           
 IRenderer createTextAreaRendererPipeWithDefaultOutput(boolean p_bHtmlEncode, boolean p_bJavaEncode, boolean p_bInsertBR, int p_iLengthLimit, java.lang.String p_strDefaultOutput)
           
 IRenderer createTextAreaRendererWithParameters(boolean p_bHtmlEncode, boolean p_bInsertBR, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, java.lang.String p_strMoreMarker)
           
 IRenderer createTextAreaRendererWithParameters(boolean p_bHtmlEncode, boolean p_bInsertBR, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, java.lang.String p_strMoreMarker, boolean p_bActiveContentStripping, boolean p_bCloseOpenTags)
           
 IRenderer createTimeRendererWithParameters(IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, java.lang.String p_strDefaultOutputValue, java.lang.String p_strTimeFormat, java.lang.String p_strTimeZone)
           
 IRenderer createUriRendererWithParameters(IRenderingContext p_ctx, java.lang.String p_strDefaultOutputValue, java.lang.String p_strSchema)
           
 IRenderer createUrlCodingTextRenderer(java.lang.String p_strDefaultOutputValue)
           
 IRenderer createUtcIsoDateTimeRenderer()
           
 IRenderingContext getDefaultRenderingContext(IServerBridgeRequest p_request, de.uplanet.lucy.server.session.ISession p_session, IUser p_user, java.lang.String p_strLang)
           
 IRenderer jsonify(de.uplanet.lucy.server.renderer.IPipedRenderer p_renderer)
           
 IRenderer jsonify(IRenderer p_renderer)
           
 IRenderer jsonify(de.uplanet.lucy.server.renderer.impl.RendererPipe p_pipe)
          Add a JSONRenderer to given renderer pipe.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererFactory

public RendererFactory()
Method Detail

getDefaultRenderingContext

public IRenderingContext getDefaultRenderingContext(IServerBridgeRequest p_request,
                                                    de.uplanet.lucy.server.session.ISession p_session,
                                                    IUser p_user,
                                                    java.lang.String p_strLang)

createRenderer

public IRenderer createRenderer(IRenderingContext p_ctx,
                                java.lang.String p_strClass)
                         throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                java.lang.ClassNotFoundException,
                                java.lang.InstantiationException,
                                java.lang.reflect.InvocationTargetException,
                                java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createPinboardDateRenderer

public IRenderer createPinboardDateRenderer(java.lang.String p_strSince,
                                            java.lang.String p_strIn,
                                            java.lang.String p_strDay,
                                            java.lang.String p_strDays,
                                            java.lang.String p_strHour,
                                            java.lang.String p_strHours,
                                            java.lang.String p_strMinute,
                                            java.lang.String p_strMinutes)
                                     throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                            java.lang.ClassNotFoundException,
                                            java.lang.InstantiationException,
                                            java.lang.reflect.InvocationTargetException,
                                            java.lang.IllegalAccessException,
                                            de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDefaultDateTimeRenderer

public IRenderer createDefaultDateTimeRenderer(IRenderingContext p_ctx)
                                        throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                               java.lang.ClassNotFoundException,
                                               java.lang.InstantiationException,
                                               java.lang.reflect.InvocationTargetException,
                                               java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultDurationRenderer

public IRenderer createDefaultDurationRenderer(IRenderingContext p_ctx)
                                        throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                               java.lang.ClassNotFoundException,
                                               java.lang.InstantiationException,
                                               java.lang.reflect.InvocationTargetException,
                                               java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDateTimeRendererUTC

public IRenderer createDateTimeRendererUTC(IRenderingContext p_ctx)
                                    throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                           java.lang.ClassNotFoundException,
                                           java.lang.InstantiationException,
                                           java.lang.reflect.InvocationTargetException,
                                           java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createJavaScriptDateTimeRenderer

public IRenderer createJavaScriptDateTimeRenderer(IRenderingContext p_ctx)
                                           throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                  java.lang.ClassNotFoundException,
                                                  java.lang.InstantiationException,
                                                  java.lang.reflect.InvocationTargetException,
                                                  java.lang.IllegalAccessException,
                                                  de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDefaultIntegerRenderer

public IRenderer createDefaultIntegerRenderer(IRenderingContext p_ctx)
                                       throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                              java.lang.ClassNotFoundException,
                                              java.lang.InstantiationException,
                                              java.lang.reflect.InvocationTargetException,
                                              java.lang.IllegalAccessException,
                                              de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createUtcIsoDateTimeRenderer

public IRenderer createUtcIsoDateTimeRenderer()
                                       throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                              java.lang.ClassNotFoundException,
                                              java.lang.InstantiationException,
                                              java.lang.reflect.InvocationTargetException,
                                              java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createHtmlMarkupStrippingRenderer

public IRenderer createHtmlMarkupStrippingRenderer()
                                            throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                   java.lang.ClassNotFoundException,
                                                   java.lang.InstantiationException,
                                                   java.lang.reflect.InvocationTargetException,
                                                   java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultActiveContentStrippingRenderer

public IRenderer createDefaultActiveContentStrippingRenderer()
                                                      throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                             java.lang.ClassNotFoundException,
                                                             java.lang.InstantiationException,
                                                             java.lang.reflect.InvocationTargetException,
                                                             java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultJavaScriptLiteralRenderer

public IRenderer createDefaultJavaScriptLiteralRenderer()
                                                 throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                        java.lang.ClassNotFoundException,
                                                        java.lang.InstantiationException,
                                                        java.lang.reflect.InvocationTargetException,
                                                        java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createColorModifierRenderer

public IRenderer createColorModifierRenderer()
                                      throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                             java.lang.ClassNotFoundException,
                                             java.lang.InstantiationException,
                                             java.lang.reflect.InvocationTargetException,
                                             java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultBooleanRenderer

public IRenderer createDefaultBooleanRenderer(IRenderingContext p_ctx)
                                       throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                              java.lang.ClassNotFoundException,
                                              java.lang.InstantiationException,
                                              java.lang.reflect.InvocationTargetException,
                                              java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultColorRenderer

public IRenderer createDefaultColorRenderer(IRenderingContext p_ctx)
                                     throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                            java.lang.ClassNotFoundException,
                                            java.lang.InstantiationException,
                                            java.lang.reflect.InvocationTargetException,
                                            java.lang.IllegalAccessException,
                                            de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDefaultDoubleRenderer

public IRenderer createDefaultDoubleRenderer(IRenderingContext p_ctx)
                                      throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                             java.lang.ClassNotFoundException,
                                             java.lang.InstantiationException,
                                             java.lang.reflect.InvocationTargetException,
                                             java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultCurrencyRenderer

public IRenderer createDefaultCurrencyRenderer(IRenderingContext p_ctx)
                                        throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                               java.lang.ClassNotFoundException,
                                               java.lang.InstantiationException,
                                               java.lang.reflect.InvocationTargetException,
                                               java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultHtmlEncodingRenderer

public IRenderer createDefaultHtmlEncodingRenderer()
                                            throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                   java.lang.ClassNotFoundException,
                                                   java.lang.InstantiationException,
                                                   java.lang.reflect.InvocationTargetException,
                                                   java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultXmlEncodingRenderer

public IRenderer createDefaultXmlEncodingRenderer()
                                           throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                  java.lang.ClassNotFoundException,
                                                  java.lang.InstantiationException,
                                                  java.lang.reflect.InvocationTargetException,
                                                  java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createNumeralRenderer

public IRenderer createNumeralRenderer(IRenderingContext p_ctx)
                                throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                       java.lang.ClassNotFoundException,
                                       java.lang.InstantiationException,
                                       java.lang.reflect.InvocationTargetException,
                                       java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultToolTipRenderer

public IRenderer createDefaultToolTipRenderer()
                                       throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                              java.lang.ClassNotFoundException,
                                              java.lang.InstantiationException,
                                              java.lang.reflect.InvocationTargetException,
                                              java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultUriRenderer

public IRenderer createDefaultUriRenderer()
                                   throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                          java.lang.ClassNotFoundException,
                                          java.lang.InstantiationException,
                                          java.lang.reflect.InvocationTargetException,
                                          java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createDefaultMailToRenderer

public IRenderer createDefaultMailToRenderer()
                                      throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                             java.lang.ClassNotFoundException,
                                             java.lang.InstantiationException,
                                             java.lang.reflect.InvocationTargetException,
                                             java.lang.IllegalAccessException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

createIntegerRendererWithParameters

public IRenderer createIntegerRendererWithParameters(IRenderingContext p_ctx,
                                                     boolean p_bHtmlEncode,
                                                     boolean p_bJsEncode,
                                                     java.lang.String p_strDefaultOutputValue,
                                                     java.lang.String p_strGroupSep)
                                              throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                     java.lang.ClassNotFoundException,
                                                     java.lang.InstantiationException,
                                                     java.lang.reflect.InvocationTargetException,
                                                     java.lang.IllegalAccessException,
                                                     de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createBooleanRendererWithParameters

public IRenderer createBooleanRendererWithParameters(IRenderingContext p_ctx,
                                                     java.lang.String p_strDefaultOutputValue,
                                                     java.lang.String p_strValueTrue,
                                                     java.lang.String p_strValueFalse)
                                              throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                     java.lang.ClassNotFoundException,
                                                     java.lang.InstantiationException,
                                                     java.lang.reflect.InvocationTargetException,
                                                     java.lang.IllegalAccessException,
                                                     de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDateTimeRendererWithParameters

public IRenderer createDateTimeRendererWithParameters(IRenderingContext p_ctx,
                                                      boolean p_bHtmlEncode,
                                                      boolean p_bJsEncode,
                                                      java.lang.String p_strDefaultOutputValue,
                                                      java.lang.String p_strDateFormat,
                                                      java.lang.String p_strTimeFormat,
                                                      java.lang.String p_strTimeZone)
                                               throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                      java.lang.ClassNotFoundException,
                                                      java.lang.InstantiationException,
                                                      java.lang.reflect.InvocationTargetException,
                                                      java.lang.IllegalAccessException,
                                                      de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDateRendererWithParameters

public IRenderer createDateRendererWithParameters(IRenderingContext p_ctx,
                                                  boolean p_bHtmlEncode,
                                                  boolean p_bJsEncode,
                                                  java.lang.String p_strDefaultOutputValue,
                                                  java.lang.String p_strDateFormat,
                                                  java.lang.String p_strTimeZone)
                                           throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                  java.lang.ClassNotFoundException,
                                                  java.lang.InstantiationException,
                                                  java.lang.reflect.InvocationTargetException,
                                                  java.lang.IllegalAccessException,
                                                  de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTimeRendererWithParameters

public IRenderer createTimeRendererWithParameters(IRenderingContext p_ctx,
                                                  boolean p_bHtmlEncode,
                                                  boolean p_bJsEncode,
                                                  java.lang.String p_strDefaultOutputValue,
                                                  java.lang.String p_strTimeFormat,
                                                  java.lang.String p_strTimeZone)
                                           throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                  java.lang.ClassNotFoundException,
                                                  java.lang.InstantiationException,
                                                  java.lang.reflect.InvocationTargetException,
                                                  java.lang.IllegalAccessException,
                                                  de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDoubleRendererWithParameters

public IRenderer createDoubleRendererWithParameters(IRenderingContext p_ctx,
                                                    boolean p_bHtmlEncode,
                                                    boolean p_bJsEncode,
                                                    java.lang.String p_strDefaultOutputValue,
                                                    java.lang.String p_strDecSep,
                                                    java.lang.String p_strGroupSep,
                                                    java.lang.Integer p_iFracDigits,
                                                    java.lang.Boolean p_bLeadingNulls)
                                             throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                    java.lang.ClassNotFoundException,
                                                    java.lang.InstantiationException,
                                                    java.lang.reflect.InvocationTargetException,
                                                    java.lang.IllegalAccessException,
                                                    de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createCurrencyRendererWithParameters

public IRenderer createCurrencyRendererWithParameters(IRenderingContext p_ctx,
                                                      boolean p_bHtmlEncode,
                                                      boolean p_bJsEncode,
                                                      java.lang.String p_strDefaultOutputValue,
                                                      java.lang.String p_strDecSep,
                                                      java.lang.String p_strGroupSep,
                                                      java.lang.Integer p_iFracDigits,
                                                      java.lang.Boolean p_bLeadingNulls)
                                               throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                      java.lang.ClassNotFoundException,
                                                      java.lang.InstantiationException,
                                                      java.lang.reflect.InvocationTargetException,
                                                      java.lang.IllegalAccessException,
                                                      de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createDefaultEncodingRenderer

public IRenderer createDefaultEncodingRenderer(boolean p_bHtmlEncode,
                                               boolean p_bJsEncode,
                                               java.lang.String p_strDefaultOutputValue)
                                        throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                               java.lang.ClassNotFoundException,
                                               java.lang.InstantiationException,
                                               java.lang.reflect.InvocationTargetException,
                                               java.lang.IllegalAccessException,
                                               de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createUriRendererWithParameters

public IRenderer createUriRendererWithParameters(IRenderingContext p_ctx,
                                                 java.lang.String p_strDefaultOutputValue,
                                                 java.lang.String p_strSchema)
                                          throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                 java.lang.ClassNotFoundException,
                                                 java.lang.InstantiationException,
                                                 java.lang.reflect.InvocationTargetException,
                                                 java.lang.IllegalAccessException,
                                                 de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createMailToRendererWithParameters

public IRenderer createMailToRendererWithParameters(IRenderingContext p_ctx,
                                                    java.lang.String p_strDefaultOutputValue)
                                             throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                    java.lang.ClassNotFoundException,
                                                    java.lang.InstantiationException,
                                                    java.lang.reflect.InvocationTargetException,
                                                    java.lang.IllegalAccessException,
                                                    de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaRendererPipe

public IRenderer createTextAreaRendererPipe(boolean p_bHtmlEncode,
                                            boolean p_bJavaEncode,
                                            boolean p_bInsertBR,
                                            int p_iLengthLimit)
                                     throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                            java.lang.ClassNotFoundException,
                                            java.lang.InstantiationException,
                                            java.lang.reflect.InvocationTargetException,
                                            java.lang.IllegalAccessException,
                                            de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bHtmlEncode - true: e.q: <table> is rendered to &lt;table&gt;
p_bJavaEncode - true: e.q: "hallo" is rendered to \"hallo\"
p_bInsertBR - used only when p_bHtmlEncode is true, too. CR,CRLF or LF is transformed to <br>
p_iLengthLimit - maximal count of chars written
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaRendererPipeWithDefaultOutput

public IRenderer createTextAreaRendererPipeWithDefaultOutput(boolean p_bHtmlEncode,
                                                             boolean p_bJavaEncode,
                                                             boolean p_bInsertBR,
                                                             int p_iLengthLimit,
                                                             java.lang.String p_strDefaultOutput)
                                                      throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                             java.lang.ClassNotFoundException,
                                                             java.lang.InstantiationException,
                                                             java.lang.reflect.InvocationTargetException,
                                                             java.lang.IllegalAccessException,
                                                             de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bHtmlEncode - true: e.q: <table> is rendered to &lt;table&gt;
p_bJavaEncode - true: e.q: "hello" is rendered to \"hello\"
p_bInsertBR - CR,CRLF or LF is transformed to <br>
p_iLengthLimit - maximal count of chars written
p_strDefaultOutput - OutputData when an Null or Empty Value should renderered
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createHtmlRemoveRenderer

public IRenderer createHtmlRemoveRenderer(boolean p_bInsertBR,
                                          boolean p_bFilterHtml,
                                          java.lang.String p_strDefaultOutput)
                                   throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                          java.lang.ClassNotFoundException,
                                          java.lang.InstantiationException,
                                          java.lang.reflect.InvocationTargetException,
                                          java.lang.IllegalAccessException,
                                          de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bInsertBR - true: replaces CR,CRLF,LFCR to <br>
p_bFilterHtml - true: strip of all html-tags
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createHtmlRemoveRendererPipe

public IRenderer createHtmlRemoveRendererPipe(boolean p_bInsertBR,
                                              int p_iLengthLimit,
                                              java.lang.String p_strMoreMarker)
                                       throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                              java.lang.ClassNotFoundException,
                                              java.lang.InstantiationException,
                                              java.lang.reflect.InvocationTargetException,
                                              java.lang.IllegalAccessException,
                                              de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bInsertBR - true: replaces CR,CRLF,LFCR to <br>
p_iLengthLimit - maximal count of chars written out (HTML tags not count) e.q.: p_iLimit = 5 and input = "<p>1234567890</p>" will transformed to "<p>12345</p>"
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaHtmlRendererPipe

public IRenderer createTextAreaHtmlRendererPipe(boolean p_bInsertBR,
                                                boolean p_bCloseOpenTags,
                                                boolean p_bFilterActiveContent,
                                                int p_iLengthLimit)
                                         throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                java.lang.ClassNotFoundException,
                                                java.lang.InstantiationException,
                                                java.lang.reflect.InvocationTargetException,
                                                java.lang.IllegalAccessException,
                                                de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bInsertBR - true: replaces CR,CRLF,LFCR to <br>
p_bCloseOpenTags - true: makes an valid html e.q: Input: "<p>Hallo" will transformed to "<p>Hallo</p>"
p_bFilterActiveContent - true: <script>, <object>, <iframe>, <embed>; and <applet> are filtered out
p_iLengthLimit - maximal count of chars written out (HTML tags not count) e.q.: p_iLimit = 5 and input = "<p>1234567890</p>" will transformed to "<p>12345</p>"
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaHtmlRendererPipeWithDefaultOutput

public IRenderer createTextAreaHtmlRendererPipeWithDefaultOutput(boolean p_bInsertBR,
                                                                 boolean p_bCloseOpenTags,
                                                                 boolean p_bFilterActiveContent,
                                                                 int p_iLengthLimit,
                                                                 java.lang.String p_strDefaultOutput)
                                                          throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                                 java.lang.ClassNotFoundException,
                                                                 java.lang.InstantiationException,
                                                                 java.lang.reflect.InvocationTargetException,
                                                                 java.lang.IllegalAccessException,
                                                                 de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bInsertBR - true: replaces CR,CRLF,LFCR to <br>
p_bCloseOpenTags - true: makes an valid html e.q: Input: "<p>Hallo" will transformed to "<p>Hallo</p>"
p_bFilterActiveContent - true: <script>, <object>, <iframe>, <embed>; and <applet> are filtered out
p_iLengthLimit - maximal count of chars written out (HTML tags not count) e.q.: p_iLimit = 5 and input = "<p>1234567890</p>" will transformed to "<p>12345</p>"
p_strDefaultOutput - Output written, when an empty or null value is put to renderer
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaRendererWithParameters

public IRenderer createTextAreaRendererWithParameters(boolean p_bHtmlEncode,
                                                      boolean p_bInsertBR,
                                                      boolean p_bJsEncode,
                                                      java.lang.String p_strDefaultOutputValue,
                                                      boolean p_bLengthLimit,
                                                      int p_iLengthLimit,
                                                      java.lang.String p_strMoreMarker,
                                                      boolean p_bActiveContentStripping,
                                                      boolean p_bCloseOpenTags)
                                               throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                      java.lang.ClassNotFoundException,
                                                      java.lang.InstantiationException,
                                                      java.lang.reflect.InvocationTargetException,
                                                      java.lang.IllegalAccessException,
                                                      de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bHtmlEncode - true: e.q: <table> is rendered to &lt;table&gt;
p_bInsertBR - true: CR,CRLF,LF,LFCR will replaced by <br />
p_bJsEncode - true: e.q: "hallo" is rendered to \"hallo\"
p_strDefaultOutputValue - Output written, when an empty or null value is put to renderer
p_bLengthLimit - true: the output is truncated to the length given by p_iLengthLimit
p_iLengthLimit - when p_bLengthLimt = true: maximal count of chars written out
p_strMoreMarker - value written when truncaten e.q. p_iLengthLimit = 5 and p_strMoreMarker = "..." and inputvalue = "1234567890" output is transformed to "12345..."
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
java.lang.ClassNotFoundException
de.uplanet.lucy.server.renderer.RendererFactoryException
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaRendererWithParameters

public IRenderer createTextAreaRendererWithParameters(boolean p_bHtmlEncode,
                                                      boolean p_bInsertBR,
                                                      boolean p_bJsEncode,
                                                      java.lang.String p_strDefaultOutputValue,
                                                      boolean p_bLengthLimit,
                                                      int p_iLengthLimit,
                                                      java.lang.String p_strMoreMarker)
                                               throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                      java.lang.ClassNotFoundException,
                                                      java.lang.InstantiationException,
                                                      java.lang.reflect.InvocationTargetException,
                                                      java.lang.IllegalAccessException,
                                                      de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bHtmlEncode - true: e.q: <table> is rendered to &lt;table&gt;
p_bInsertBR - true: CR,CRLF,LF,LFCR will replaced by <br />
p_bJsEncode - true: e.q: "hallo" is rendered to \"hallo\"
p_strDefaultOutputValue - Output written, when an empty or null value is put to renderer
p_bLengthLimit - true: the output is truncated to the length given by p_iLengthLimit
p_iLengthLimit - when p_bLengthLimt = true: maximal count of chars written out
p_strMoreMarker - value written when truncaten e.q. p_iLengthLimit = 5 and p_strMoreMarker = "..." and inputvalue = "1234567890" output is transformed to "12345..."
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaHtmlRendererWithParameters

public IRenderer createTextAreaHtmlRendererWithParameters(boolean p_bInsertBR,
                                                          boolean p_bCloseOpenTags,
                                                          boolean p_bActiveContentStripping,
                                                          java.lang.String p_strDefaultOutputValue,
                                                          boolean p_bLengthLimit,
                                                          int p_iLengthLimit,
                                                          java.lang.String p_strMoreMarker)
                                                   throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                          java.lang.ClassNotFoundException,
                                                          java.lang.InstantiationException,
                                                          java.lang.reflect.InvocationTargetException,
                                                          java.lang.IllegalAccessException,
                                                          de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bInsertBR - true: replaces CR,CRLF,LFCR to <br>
p_bCloseOpenTags - true: makes an valid html e.q: Input: "<p>Hallo" will transformed to "<p>Hallo</p>"
p_bActiveContentStripping - true: <script>, <object>, <iframe>, <embed>; and <applet> are filtered out
p_strDefaultOutputValue - Output written, when an empty or null value is put to renderer
p_bLengthLimit -
p_iLengthLimit - maximal count of chars written out, when p_bLengthLimit = true (HTML tags not count) e.q.: p_iLimit = 5 and input = "<p>1234567890</p>" will transformed to "<p>12345</p>"
p_strMoreMarker - value written when truncated e.q. p_iLengthLimit = 5 and p_strMoreMarker = "..." and inputvalue = "<p>1234567890</p>" will transformed to "<p>12345...</p>"
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createTextAreaHtmlRendererWithParameters

public IRenderer createTextAreaHtmlRendererWithParameters(boolean p_bInsertBR,
                                                          boolean p_bJsEncode,
                                                          boolean p_bCloseOpenTags,
                                                          boolean p_bActiveContentStripping,
                                                          java.lang.String p_strDefaultOutputValue,
                                                          boolean p_bLengthLimit,
                                                          int p_iLengthLimit,
                                                          java.lang.String p_strMoreMarker)
                                                   throws de.uplanet.lucy.server.renderer.RendererFactoryException,
                                                          java.lang.ClassNotFoundException,
                                                          java.lang.InstantiationException,
                                                          java.lang.reflect.InvocationTargetException,
                                                          java.lang.IllegalAccessException,
                                                          de.uplanet.lucy.server.renderer.RendererException
Parameters:
p_bInsertBR - true: replaces CR,CRLF,LFCR to <br>
p_bJsEncode - true: true: e.q: "hallo" is rendered to \"hallo\"
p_bCloseOpenTags - true: makes an valid html e.q: Input: "<p>Hallo" will transformed to "<p>Hallo</p>"
p_bActiveContentStripping - true: <script>, <object>, <iframe>, <embed>; and <applet> are filtered out
p_strDefaultOutputValue - Output written, when an empty or null value is put to renderer
p_bLengthLimit -
p_iLengthLimit - maximal count of chars written out, when p_bLengthLimit = true (HTML tags not count) e.q.: p_iLimit = 5 and input = "<p>1234567890</p>" will transformed to "<p>12345</p>"
p_strMoreMarker - value written when truncated e.q. p_iLengthLimit = 5 and p_strMoreMarker = "..." and inputvalue = "<p>1234567890</p>" will transformed to "<p>12345...</p>"
Returns:
IRenderer
Throws:
de.uplanet.lucy.server.renderer.RendererFactoryException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
de.uplanet.lucy.server.renderer.RendererException

createSimpleTextRenderer

public IRenderer createSimpleTextRenderer(java.lang.String p_strDefaultOutputValue)
                                   throws de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererException

createUrlCodingTextRenderer

public IRenderer createUrlCodingTextRenderer(java.lang.String p_strDefaultOutputValue)
                                      throws de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererException

createJSONRenderer

public IRenderer createJSONRenderer()
                             throws de.uplanet.lucy.server.renderer.RendererException
Throws:
de.uplanet.lucy.server.renderer.RendererException

jsonify

public IRenderer jsonify(de.uplanet.lucy.server.renderer.impl.RendererPipe p_pipe)
Add a JSONRenderer to given renderer pipe.

Parameters:
p_pipe - The renderer pipe.
Returns:
The modified p_pipe.

jsonify

public IRenderer jsonify(de.uplanet.lucy.server.renderer.IPipedRenderer p_renderer)

jsonify

public IRenderer jsonify(IRenderer p_renderer)


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.