| java.lang.Object org.tigris.scarab.util.build.l10nchecker.L10nIssue
All known Subclasses: org.tigris.scarab.util.build.l10nchecker.issues.DefinedTwiceIssue, org.tigris.scarab.util.build.l10nchecker.issues.TranslationRequiredIssue, org.tigris.scarab.util.build.l10nchecker.issues.NotInReferenceIssue, org.tigris.scarab.util.build.l10nchecker.issues.TranslationMissingIssue, org.tigris.scarab.util.build.l10nchecker.issues.DefinedTwiceDiffIssue, org.tigris.scarab.util.build.l10nchecker.issues.CantParseLineIssue, org.tigris.scarab.util.build.l10nchecker.issues.IllegalPatternIssue, org.tigris.scarab.util.build.l10nchecker.issues.DifferentAttributeCountIssue, org.tigris.scarab.util.build.l10nchecker.issues.TranslatedTwiceIssue, org.tigris.scarab.util.build.l10nchecker.issues.TranslatedTwiceDiffIssue, org.tigris.scarab.util.build.l10nchecker.issues.NoTransAllowedIssue, org.tigris.scarab.util.build.l10nchecker.issues.NotTranslatedIssue,
L10nIssue | abstract public class L10nIssue (Code) | | Class that represents an issue template
|
MESSAGE_ERROR | final public static int MESSAGE_ERROR(Code) | | ERROR message
|
MESSAGE_IGNORE | final public static int MESSAGE_IGNORE(Code) | | ignore message (default)
|
MESSAGE_INFO | final public static int MESSAGE_INFO(Code) | | INFORMATIONAL message
|
MESSAGE_WARNING | final public static int MESSAGE_WARNING(Code) | | WARNING message
|
formatMessage | public String formatMessage()(Code) | | Utility function to perform a message translation for a specific issue
The formatted string. In case the string cannot be formatted(i.e. MessageFormat.format () throws an exception), null is returned. |
getMessageTemplate | abstract public String getMessageTemplate()(Code) | | Return the message template that is used to display the error text.
Returns the messageTemplate. |
getMessageType | final public int getMessageType()(Code) | | Return the message type for the current object. The message type
is retrieved from the corresponding entry in
L10nIssueTemplates Returns the messageType. |
getParameters | abstract public Object[] getParameters()(Code) | | Get the parameters for a message
the parameters. The parameters have to be an array representing objects. |
isError | final public boolean isError()(Code) | | Return true in case the current issue is an error message
true, if the underlying issue is an issue representing an error. |
isInfo | final public boolean isInfo()(Code) | | Return true in case the current issue is an informational message
true, if the underlying issue is an issue representing an information. |
isWarning | final public boolean isWarning()(Code) | | Return true in case the current issue is a warning
true, if the underlying issue is an issue representing a warning. |
setMessageType | final public void setMessageType(int messageType)(Code) | | Set the severity of the current message
Parameters: messageType - The messageType to set. |
|
|