Class FieldFormatter

java.lang.Object
de.uplanet.lucy.server.auxiliaries.FieldFormatter

@VelocityCallable("instance") public final class FieldFormatter extends Object
  • Constructor Details

    • FieldFormatter

      public FieldFormatter()
  • Method Details

    • setRenderingContext

      public void setRenderingContext(de.uplanet.lucy.server.IProcessingContext p_ctx)
    • getFileControlNameFromFieldGuid

      public String getFileControlNameFromFieldGuid(String p_strFieldGuid)
    • formatField

      public String formatField(de.uplanet.lucy.server.dataobjects.IValueHolder<?> p_vh, de.uplanet.lucy.server.dataobjects.IValueHolder<?> p_vhRendered, String p_strFieldGuid, de.uplanet.lucy.types.CONTROL_TYPE p_controlType, int p_iMaxLength)
    • getRenderedOutput

      public String getRenderedOutput(String p_strIn, int p_iMaxLength)
    • getOutput

      public String getOutput(String p_strOutputType, de.uplanet.lucy.server.dataobjects.IValueHolder<?> p_vh, de.uplanet.lucy.server.dataobjects.IValueHolder<?> p_vhRendered, int p_iMaxLength)
    • getOutput

      public String getOutput(de.uplanet.lucy.types.CONTROL_TYPE p_controlDataType, de.uplanet.lucy.server.dataobjects.IValueHolder<?> p_vh, de.uplanet.lucy.server.dataobjects.IValueHolder<?> p_vhRendered, int p_iMaxLength)
    • getDefaultControlType

      public de.uplanet.lucy.types.CONTROL_TYPE getDefaultControlType(String p_strFieldGuid)
    • getIntValue

      public String getIntValue(double p_dIn)