org.tigris.scarab.util.build.l10nchecker
Class L10nMessage

java.lang.Object
  extended byorg.tigris.scarab.util.build.l10nchecker.L10nMessage

public class L10nMessage
extends java.lang.Object

Interface that contains a message (information, warning, error) that can be created during initialisation

Author:
sreindl

Constructor Summary
L10nMessage(int lineNo, L10nIssue issue)
          Create a message of type INFORMATION at line #lineNo with message #issue.
 
Method Summary
 L10nIssue getIssue()
          Return the issue assiciated to this message.
 L10nKey getL10nObject()
          Set the message text.
 int getLineNumber()
          Return the line number.
 java.lang.String getMessageText()
          Return the message text.
 void setL10nObject(L10nKey object)
          Return the corresponding L10nKey.
 void setLineNumber(int lineNumber)
          Set the line number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

L10nMessage

public L10nMessage(int lineNo,
                   L10nIssue issue)
Create a message of type INFORMATION at line #lineNo with message #issue.

Parameters:
lineNo - The line where the message appeared
issue - The issue to be created.
Method Detail

getLineNumber

public int getLineNumber()
Return the line number.

Returns:
Returns the lineNumber.

setLineNumber

public void setLineNumber(int lineNumber)
Set the line number

Parameters:
lineNumber - The lineNumber to set.

getMessageText

public java.lang.String getMessageText()
Return the message text.

Returns:
Returns the messageText.

getL10nObject

public L10nKey getL10nObject()
Set the message text.

Returns:
Returns the l10nObject.

setL10nObject

public void setL10nObject(L10nKey object)
Return the corresponding L10nKey.

Parameters:
object - The l10nKey to set.

getIssue

public L10nIssue getIssue()
Return the issue assiciated to this message.

Returns:
Returns the issue.


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