org.ow2.opensuit.cel
Interface ICompilationMessage


public interface ICompilationMessage

Interface declaring all methods which must be implemented, by a class which implements . Represent the compilation message behavior.

Version:
1.0
Author:
Adrien Ruffie / Pierre Smeyers, http://opensuit.ow2.org/

Field Summary
static int ERROR_LEVEL
           
static int INFO_LEVEL
           
static int WARNING_LEVEL
           
 
Method Summary
 int getLevel()
          Get the level of the compilation message .
 java.lang.String getMessage()
          Get the value of the compilation message.
 int getPosition()
          Get the position into the expression, associated with the compilation message .
 

Field Detail

INFO_LEVEL

static final int INFO_LEVEL
See Also:
Constant Field Values

WARNING_LEVEL

static final int WARNING_LEVEL
See Also:
Constant Field Values

ERROR_LEVEL

static final int ERROR_LEVEL
See Also:
Constant Field Values
Method Detail

getPosition

int getPosition()
Get the position into the expression, associated with the compilation message .

Returns:
Integer of the message position into the expression.

getLevel

int getLevel()
Get the level of the compilation message .

Returns:
Integer of the message level.

getMessage

java.lang.String getMessage()
Get the value of the compilation message.

Returns:
The value of the compilation message content.


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.