org.tigris.scarab.util.build.l10nchecker.issues
Class IllegalPatternIssue

java.lang.Object
  extended byorg.tigris.scarab.util.build.l10nchecker.L10nIssue
      extended byorg.tigris.scarab.util.build.l10nchecker.issues.IllegalPatternIssue

public class IllegalPatternIssue
extends L10nIssue

This error is created if an attribute in the string is invalid

Example:

  a=This is invalid {1


Field Summary
 
Fields inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
MESSAGE_ERROR, MESSAGE_IGNORE, MESSAGE_INFO, MESSAGE_WARNING
 
Constructor Summary
IllegalPatternIssue(java.lang.String key)
          Construct this issue
 
Method Summary
 java.lang.String getMessageTemplate()
          Return the message template that is used to display the error text.
 java.lang.Object[] getParameters()
          Get the parameters for a message
 
Methods inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
formatMessage, getMessageType, isError, isInfo, isWarning, setMessageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IllegalPatternIssue

public IllegalPatternIssue(java.lang.String key)
Construct this issue

Method Detail

getMessageTemplate

public java.lang.String getMessageTemplate()
Description copied from class: L10nIssue
Return the message template that is used to display the error text.

Specified by:
getMessageTemplate in class L10nIssue
Returns:
Returns the messageTemplate.

getParameters

public java.lang.Object[] getParameters()
Description copied from class: L10nIssue
Get the parameters for a message

Specified by:
getParameters in class L10nIssue
Returns:
the parameters. The parameters have to be an array representing objects.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.