Class FieldFormatter
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.FieldFormatter
-
@VelocityCallable("instance") public final class FieldFormatter extends Object
-
-
Constructor Summary
Constructors Constructor Description FieldFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
formatField(IValueHolder<?> p_vh, IValueHolder<?> p_vhRendered, String p_strFieldGuid, de.uplanet.lucy.types.CONTROL_TYPE p_controlType, int p_iMaxLength)
de.uplanet.lucy.types.CONTROL_TYPE
getDefaultControlType(String p_strFieldGuid)
String
getFileControlNameFromFieldGuid(String p_strFieldGuid)
String
getIntValue(double p_dIn)
String
getOutput(de.uplanet.lucy.types.CONTROL_TYPE p_controlDataType, IValueHolder<?> p_vh, IValueHolder<?> p_vhRendered, int p_iMaxLength)
String
getOutput(String p_strOutputType, IValueHolder<?> p_vh, IValueHolder<?> p_vhRendered, int p_iMaxLength)
String
getRenderedOutput(String p_strIn, int p_iMaxLength)
void
setRenderingContext(de.uplanet.lucy.server.IProcessingContext p_ctx)
-
-
-
Method Detail
-
setRenderingContext
public void setRenderingContext(de.uplanet.lucy.server.IProcessingContext p_ctx)
-
getFileControlNameFromFieldGuid
public String getFileControlNameFromFieldGuid(String p_strFieldGuid)
-
formatField
public String formatField(IValueHolder<?> p_vh, IValueHolder<?> p_vhRendered, String p_strFieldGuid, de.uplanet.lucy.types.CONTROL_TYPE p_controlType, int p_iMaxLength)
-
getOutput
public String getOutput(String p_strOutputType, IValueHolder<?> p_vh, IValueHolder<?> p_vhRendered, int p_iMaxLength)
-
getOutput
public String getOutput(de.uplanet.lucy.types.CONTROL_TYPE p_controlDataType, IValueHolder<?> p_vh, 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)
-
-