Class VCRendererFactory

java.lang.Object
de.uplanet.lucy.server.auxiliaries.VCRendererFactory
All Implemented Interfaces:
de.uplanet.lucy.server.renderer.IDefaultRendererFactory

@VelocityCallable("singleton") public final class VCRendererFactory extends Object implements de.uplanet.lucy.server.renderer.IDefaultRendererFactory
  • Constructor Details

    • VCRendererFactory

      public VCRendererFactory()
  • Method Details

    • getDefaultRenderingContext

      public de.uplanet.lucy.server.renderer.IRenderingContext getDefaultRenderingContext(de.uplanet.lucy.server.IProcessingContext p_ctx, de.uplanet.lucy.server.usermanager.IUser p_user, String p_strLang)
      Specified by:
      getDefaultRenderingContext in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
    • getDefaultRenderingContext

      @Deprecated public de.uplanet.lucy.server.renderer.IRenderingContext getDefaultRenderingContext(de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.usermanager.IUser p_user, String p_strLang)
    • createRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strClass) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Create a renderer given the renderer class.
      Parameters:
      p_ctx - The rendering context to used.
      p_strClass - The renderer class.
      Returns:
      The renderer.
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createPinboardDateRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createPinboardDateRenderer(String p_strSince, String p_strIn, String p_strDay, String p_strDays, String p_strHour, String p_strHours, String p_strMinute, String p_strMinutes) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createPinboardDateRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createPinboardDateRenderer(String p_strSince, String p_strIn, String p_strDay, String p_strDays, String p_strHour, String p_strHours, String p_strMinute, String p_strMinutes, String p_strAt) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createPinboardDateRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createPinboardDateRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strSince, String p_strIn, String p_strDay, String p_strDays, String p_strHour, String p_strHours, String p_strMinute, String p_strMinutes, String p_strAt) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createPinboardDateRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createPinboardDateRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strSince, String p_strIn, String p_strDay, String p_strDays, String p_strHour, String p_strHours, String p_strMinute, String p_strMinutes, String p_strAt, String p_strYesterDay, String p_strAgo) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultDurationRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultDurationRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDateTimeRendererUTC

      public de.uplanet.lucy.server.renderer.IRenderer createDateTimeRendererUTC(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createJavaScriptDateTimeRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createJavaScriptDateTimeRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createMarkdownRendererPipeline

      public de.uplanet.lucy.server.renderer.IRenderer createMarkdownRendererPipeline()
    • createMarkdownRendererPipeline

      public de.uplanet.lucy.server.renderer.IRenderer createMarkdownRendererPipeline(int p_maxTextLength, boolean p_useXssProtection) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createHtmlMailRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createHtmlMailRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDateTimeAdjustStringRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDateTimeAdjustStringRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createUtcIsoDateTimeRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createUtcIsoDateTimeRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createHtmlMarkupStrippingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createHtmlMarkupStrippingRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultActiveContentStrippingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultActiveContentStrippingRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultJavaScriptLiteralRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultJavaScriptLiteralRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createColorModifierRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createColorModifierRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultColorRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultColorRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultHtmlEncodingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultHtmlEncodingRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultHtmlAttributeEncodingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultHtmlAttributeEncodingRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultXmlEncodingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultXmlEncodingRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createNumeralRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createNumeralRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultToolTipRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultToolTipRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultUriRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultUriRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultMailToRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultMailToRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultTelUriRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultTelUriRenderer() throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createIntegerRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createIntegerRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue, String p_strGroupSep) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createBooleanRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createBooleanRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strDefaultOutputValue, String p_strValueTrue, String p_strValueFalse) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDateTimeRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createDateTimeRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue, String p_strDateFormat, String p_strTimeFormat, String p_strTimeZone) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDateRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createDateRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue, String p_strDateFormat, String p_strTimeZone) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createTimeRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createTimeRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue, String p_strTimeFormat, String p_strTimeZone) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDoubleRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createDoubleRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue, String p_strDecSep, String p_strGroupSep, Integer p_iFracDigits, Boolean p_bLeadingNulls) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createCurrencyRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createCurrencyRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue, String p_strDecSep, String p_strGroupSep, Integer p_iFracDigits, Boolean p_bLeadingNulls) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultEncodingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultEncodingRenderer(boolean p_bHtmlEncode, boolean p_bJsEncode, boolean p_bFilterScript, String p_strDefaultOutputValue) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultEncodingRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultEncodingRenderer(boolean p_bHtmlEncode, boolean p_bJsEncode, String p_strDefaultOutputValue) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createUriRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createUriRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strDefaultOutputValue, String p_strSchema) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createMailToRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createMailToRendererWithParameters(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strDefaultOutputValue) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createMarkdownRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createMarkdownRenderer()
      Create a new markdown renderer.
      Returns:
      A new mardown renderer instance.
    • createMarkdownRendererWithJavaScriptEncoder

      public de.uplanet.lucy.server.renderer.IRenderer createMarkdownRendererWithJavaScriptEncoder()
      Create a new markdown renderer and encode Javascript.
      Returns:
      A new mardown renderer/javascript renderer pipe instance.
    • createTextAreaRendererPipe

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaRendererPipe(boolean p_bHtmlEncode, boolean p_bJavaEncode, boolean p_bInsertBR, int p_iLengthLimit) throws 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.RendererException
    • createTextAreaRendererPipeWithDefaultOutput

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaRendererPipeWithDefaultOutput(boolean p_bHtmlEncode, boolean p_bJavaEncode, boolean p_bInsertBR, int p_iLengthLimit, String p_strDefaultOutput) throws 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.RendererException
    • createHtmlRemoveRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createHtmlRemoveRenderer(boolean p_bInsertBR, boolean p_bFilterHtml, String p_strDefaultOutput) throws 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.RendererException
    • createHtmlRemoveRendererPipe

      public de.uplanet.lucy.server.renderer.IRenderer createHtmlRemoveRendererPipe(boolean p_bInsertBR, int p_iLengthLimit, String p_strMoreMarker) throws 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.RendererException
    • createTextAreaHtmlRendererPipe

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaHtmlRendererPipe(boolean p_bInsertBR, boolean p_bCloseOpenTags, boolean p_bFilterActiveContent, int p_iLengthLimit) throws 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 betransformed to "<p>Hallo</p>"
      p_bFilterActiveContent - If true then script, object, iframe, embed, and applet elements 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.RendererException
    • createTextAreaHtmlRendererPipeWithDefaultOutput

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaHtmlRendererPipeWithDefaultOutput(boolean p_bInsertBR, boolean p_bCloseOpenTags, boolean p_bFilterActiveContent, int p_iLengthLimit, String p_strDefaultOutput) throws 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 be transformed to "<p>Hallo</p>".
      p_bFilterActiveContent - If true then script, object, iframe, embed, and applet elements 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.RendererException
    • createTextAreaRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaRendererWithParameters(boolean p_bHtmlEncode, boolean p_bInsertBR, boolean p_bJsEncode, String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, String p_strMoreMarker, boolean p_bActiveContentStripping, boolean p_bCloseOpenTags) throws 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
    • createTextAreaRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaRendererWithParameters(boolean p_bHtmlEncode, boolean p_bInsertBR, boolean p_bJsEncode, String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, String p_strMoreMarker) throws 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
    • createTextAreaHtmlRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaHtmlRendererWithParameters(boolean p_bInsertBR, boolean p_bCloseOpenTags, boolean p_bActiveContentStripping, String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, String p_strMoreMarker) throws 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.RendererException
    • createTextAreaHtmlRendererWithParameters

      public de.uplanet.lucy.server.renderer.IRenderer createTextAreaHtmlRendererWithParameters(boolean p_bInsertBR, boolean p_bJsEncode, boolean p_bCloseOpenTags, boolean p_bActiveContentStripping, String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, String p_strMoreMarker) throws 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.RendererException
    • createSimpleTextRenderer

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

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

      public de.uplanet.lucy.server.renderer.IRenderer createPercentageRenderer(String p_strDefaultOutputValue) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createCms2ContentRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createCms2ContentRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, boolean p_bHtmlEncode, boolean p_bInsertBR, boolean p_bJsEncode, String p_strDefaultOutputValue, boolean p_bLengthLimit, int p_iLengthLimit, String p_strMoreMarker) throws de.uplanet.lucy.server.renderer.RendererException
      Throws:
      de.uplanet.lucy.server.renderer.RendererException
    • createMailAddressRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createMailAddressRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strDefaultOutputValue, String p_strSeparator, String p_strLineBreak, boolean p_bInsertBR, boolean p_bLengthLimit, int p_iLengthLimit, String p_strMoreMarker) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Create renderer for email addresses, e.g. "A, B" <a.b@mycompany.com> will be rendered to a.b@mycompany.com.
      Parameters:
      p_ctx - Rendering context
      p_strDefaultOutputValue - Default output value
      p_strSeparator - Separator between the email addresses (default: ";")
      p_strLineBreak - Line break between the email addresses (possible values: "LF", "CR", "CRLF", "BR", "", default: "")
      p_bInsertBR - Replace line breaks with
      tag
      p_bLengthLimit - Length limit for view field
      p_iLengthLimit - Length limit value
      p_strMoreMarker - More marker if length limit has been reached
      Returns:
      The renderer
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createMailAddressRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createMailAddressRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx, String p_strDefaultOutputValue, String p_strSeparator, String p_strLineBreak) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Create renderer for email addresses, e.g. "A, B" <a.b@mycompany.com> will be rendered to a.b@mycompany.com.
      Parameters:
      p_ctx - Rendering context
      p_strDefaultOutputValue - Default output value
      p_strSeparator - Separator between the email addresses (default: ";")
      p_strLineBreak - Line break between the email addresses (possible values: "LF", "CR", "CRLF", "BR", "", default: "")
      Returns:
      The renderer
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createJSONRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createJSONRenderer()
    • jsonify

      public de.uplanet.lucy.server.renderer.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 de.uplanet.lucy.server.renderer.IRenderer jsonify(de.uplanet.lucy.server.renderer.IPipedRenderer p_renderer)
    • jsonify

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

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultBooleanRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultBooleanRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultDateTimeRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultDateTimeRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException
      Specified by:
      createDefaultDateTimeRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
    • createDefaultDateRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultDateRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultDateRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultTimeRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultTimeRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultTimeRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultDoubleRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultDoubleRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultDoubleRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultCurrencyRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultCurrencyRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultCurrencyRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultTextRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultTextRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultTextRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException
    • createDefaultIntegerRenderer

      public de.uplanet.lucy.server.renderer.IRenderer createDefaultIntegerRenderer(de.uplanet.lucy.server.renderer.IRenderingContext p_ctx) throws de.uplanet.lucy.server.renderer.RendererFactoryException, de.uplanet.lucy.server.renderer.RendererException
      Specified by:
      createDefaultIntegerRenderer in interface de.uplanet.lucy.server.renderer.IDefaultRendererFactory
      Throws:
      de.uplanet.lucy.server.renderer.RendererFactoryException
      de.uplanet.lucy.server.renderer.RendererException