public final class MessageUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LABEL_TOOL_TIP |
static String |
TOOL_TIP |
Modifier and Type | Method and Description |
---|---|
static String |
createLabelNoPlural(String fieldName,
ResourceBundle bundle) |
static String |
createLabelWithNameSpace(String namespace,
String fieldName,
ResourceBundle bundle)
Get the field label.
|
static String |
createToolTipWithNameSpace(String namespace,
String fieldName,
ResourceBundle bundle,
String toolTipType)
Get the tool tip.
|
static String |
generateLabelValue(String fieldName)
Generate the field.
|
static String |
getLabel(String fieldName,
ResourceBundle bundle)
Get the field label.
|
public static final String TOOL_TIP
public static final String LABEL_TOOL_TIP
public static String createLabelNoPlural(String fieldName, ResourceBundle bundle)
public static String getLabel(String fieldName, ResourceBundle bundle)
fieldName
- fieldNamebundle
- ResourceBundlepublic static String createLabelWithNameSpace(String namespace, String fieldName, ResourceBundle bundle)
namespace
- Namespace is a qualifier usually the name of a Form or Entity.fieldName
- fieldName is the name of the label we want to look up.bundle
- ResourceBundlepublic static String createToolTipWithNameSpace(String namespace, String fieldName, ResourceBundle bundle, String toolTipType)
namespace
- Namespace is a qualifier usually the name of a Form or Entity.fieldName
- fieldName is the name of the tool tip we want to look up.bundle
- bundleCopyright © 2014. All rights reserved.