blob: 0d8d7f28669c495cd378a803ed27d2cf09a3fd46 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Tue Jan 27 04:28:33 EST 2009 -->
<TITLE>
IMessage
</TITLE>
<META NAME="date" CONTENT="2009-01-27">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IMessage";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMetaModelContext.html" title="interface in org.eclipse.wst.validation.internal.provisional.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/eclipse/wst/validation/internal/provisional/core/IMessage.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="IMessage.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.wst.validation.internal.provisional.core</FONT>
<BR>
Interface IMessage</H2>
<HR>
<DL>
<DT><PRE>public interface <B>IMessage</B></DL>
</PRE>
<P>
<p>
This interface represents a locale-independent validation message.
</p>
<p>
Given these three values as input, this interface can be queried for the final message string.
(i.e., the message with the parameters already substituted in.) Either the default Locale can be
used, or the caller can specify a Locale.
</p>
<p>
<b>Provisional API:</b> This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
</p>
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#ALL_MESSAGES">ALL_MESSAGES</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify all types of messages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#ERROR_AND_WARNING">ERROR_AND_WARNING</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify high (error) and normal (warning) messages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#HIGH_SEVERITY">HIGH_SEVERITY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Typically used to specify error messages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#LINENO_UNSET">LINENO_UNSET</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#LOW_SEVERITY">LOW_SEVERITY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Typically used to specify information messages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#NORMAL_SEVERITY">NORMAL_SEVERITY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Typically used to specify warning messages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#OFFSET_UNSET">OFFSET_UNSET</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#TargetResource">TargetResource</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TargetResource - The key to use when associating a resource with a message via an
attribute.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String&nbsp;attributeName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a way to store some additional attributes that a message would like to store
that can used by some other parties that are interested in those attribute values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.HashMap</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getAttributes()">getAttributes</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return all the attributes of a Message object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getBundleName()">getBundleName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getGroupName()">getGroupName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To support removal of a subset of validation messages, an IValidator may assign group names
to IMessages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getId()">getId</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the id of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getLength()">getLength</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getLineNumber()">getLineNumber</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If there is a target object associated with this IMessage, and that target object is a file,
then an optional line number may be set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getMarkerId()">getMarkerId</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the marker id if one is set on this object when created.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getOffset()">getOffset</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the offset of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getParams()">getParams</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parameters of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getSeverity()">getSeverity</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Returns the severity level of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getTargetObject()">getTargetObject</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the object that this IMessage is reporting the problem against, if any. null will be
returned if this is a general message which does not apply to a particular object; for
example, "internal error".</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getText()">getText</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getText(java.lang.ClassLoader)">getText</A></B>(java.lang.ClassLoader&nbsp;classLoader)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getText(java.util.Locale)">getText</A></B>(java.util.Locale&nbsp;locale)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getText(java.util.Locale, java.lang.ClassLoader)">getText</A></B>(java.util.Locale&nbsp;locale,
java.lang.ClassLoader&nbsp;classLoader)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setAttribute(java.lang.String, java.lang.Object)">setAttribute</A></B>(java.lang.String&nbsp;attributeName,
java.lang.Object&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the attributeName and value as key value pair.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setBundleName(java.lang.String)">setBundleName</A></B>(java.lang.String&nbsp;bundleName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the bundle which this message is contained in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setGroupName(java.lang.String)">setGroupName</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To support removal of a subset of validation messages, an IValidator may assign group names
to IMessages.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setId(java.lang.String)">setId</A></B>(java.lang.String&nbsp;newId)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the id of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setLength(int)">setLength</A></B>(int&nbsp;length)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the length of the problem, starting from the offset.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setLineNo(int)">setLineNo</A></B>(int&nbsp;lineNumber)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If there is a target object associated with this IMessage, and that target object is a file,
then an optional line number may be set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setMarkerId(java.lang.String)">setMarkerId</A></B>(java.lang.String&nbsp;markerId)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the marker id on a Message object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setOffset(int)">setOffset</A></B>(int&nbsp;offset)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the offset of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setParams(java.lang.String[])">setParams</A></B>(java.lang.String[]&nbsp;newParams)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the parameters of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setSeverity(int)">setSeverity</A></B>(int&nbsp;newSeverity)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the severity level of the message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setTargetObject(java.lang.Object)">setTargetObject</A></B>(java.lang.Object&nbsp;obj)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Associate this IMessage with the object that has the problem.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="OFFSET_UNSET"><!-- --></A><H3>
OFFSET_UNSET</H3>
<PRE>
static final int <B>OFFSET_UNSET</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.OFFSET_UNSET">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LINENO_UNSET"><!-- --></A><H3>
LINENO_UNSET</H3>
<PRE>
static final int <B>LINENO_UNSET</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.LINENO_UNSET">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="HIGH_SEVERITY"><!-- --></A><H3>
HIGH_SEVERITY</H3>
<PRE>
static final int <B>HIGH_SEVERITY</B></PRE>
<DL>
<DD>Typically used to specify error messages.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.HIGH_SEVERITY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="NORMAL_SEVERITY"><!-- --></A><H3>
NORMAL_SEVERITY</H3>
<PRE>
static final int <B>NORMAL_SEVERITY</B></PRE>
<DL>
<DD>Typically used to specify warning messages.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.NORMAL_SEVERITY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LOW_SEVERITY"><!-- --></A><H3>
LOW_SEVERITY</H3>
<PRE>
static final int <B>LOW_SEVERITY</B></PRE>
<DL>
<DD>Typically used to specify information messages.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.LOW_SEVERITY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="ERROR_AND_WARNING"><!-- --></A><H3>
ERROR_AND_WARNING</H3>
<PRE>
static final int <B>ERROR_AND_WARNING</B></PRE>
<DL>
<DD>Specify high (error) and normal (warning) messages. Typically used with a MessageFilter, to
filter out information messages.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.ERROR_AND_WARNING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="ALL_MESSAGES"><!-- --></A><H3>
ALL_MESSAGES</H3>
<PRE>
static final int <B>ALL_MESSAGES</B></PRE>
<DL>
<DD>Specify all types of messages. Typically used with a MessageFilter.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.ALL_MESSAGES">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TargetResource"><!-- --></A><H3>
TargetResource</H3>
<PRE>
static final java.lang.String <B>TargetResource</B></PRE>
<DL>
<DD>TargetResource - The key to use when associating a resource with a message via an
attribute.
<p>
Normally, the target is stored using the setTargetObject() method, but
some of the legacy validators used this field for objects that where not IResources.
In order to associate the message with the proper IResource the validator can store
the IResource as an attribute and use this string as the key.
</p>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.eclipse.wst.validation.internal.provisional.core.IMessage.TargetResource">Constant Field Values</A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getBundleName()"><!-- --></A><H3>
getBundleName</H3>
<PRE>
java.lang.String <B>getBundleName</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the bundle which this message is contained in.</DL>
</DD>
</DL>
<HR>
<A NAME="getGroupName()"><!-- --></A><H3>
getGroupName</H3>
<PRE>
java.lang.String <B>getGroupName</B>()</PRE>
<DL>
<DD>To support removal of a subset of validation messages, an IValidator may assign group names
to IMessages. An IMessage subset will be identified by the name of its group. Default (null)
means no group.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the group to which the message belongs.</DL>
</DD>
</DL>
<HR>
<A NAME="getId()"><!-- --></A><H3>
getId</H3>
<PRE>
java.lang.String <B>getId</B>()</PRE>
<DL>
<DD>Returns the id of the message. Message ids are used as the constants in property bundles
which localize the description of the message in a locale-independent fashion. The id is the
key, in the resource bundle, which identifies the string to be loaded. The id may not be null
or the empty string.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the id of the message</DL>
</DD>
</DL>
<HR>
<A NAME="getLength()"><!-- --></A><H3>
getLength</H3>
<PRE>
int <B>getLength</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the length of the problem area, starting from the offset. If unset, value =
IMessage.OFFSET_UNSET.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getOffset()"><CODE>getOffset()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLineNumber()"><!-- --></A><H3>
getLineNumber</H3>
<PRE>
int <B>getLineNumber</B>()</PRE>
<DL>
<DD>If there is a target object associated with this IMessage, and that target object is a file,
then an optional line number may be set. The line number identifies the location of the
problem identified by this message. If no line number has been set, #LINENO_UNSET will be
returned.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>line number of the location of the problem.</DL>
</DD>
</DL>
<HR>
<A NAME="getOffset()"><!-- --></A><H3>
getOffset</H3>
<PRE>
int <B>getOffset</B>()</PRE>
<DL>
<DD>Returns the offset of the message. If unset, value = IMessage.OFFSET_UNSET. For example, if
the java compiler were a validator, and it reported that a variable name was unknown, offset
would identify the position of the first character of the unknown variable. The position is
identified by the number of characters from the start of the file.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>offset of the message</DL>
</DD>
</DL>
<HR>
<A NAME="getParams()"><!-- --></A><H3>
getParams</H3>
<PRE>
java.lang.String[] <B>getParams</B>()</PRE>
<DL>
<DD>Returns the parameters of the message. Message parameters are the values which are
substituted into parameter slots in localized message text descriptions.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>parameters of the message</DL>
</DD>
</DL>
<HR>
<A NAME="getSeverity()"><!-- --></A><H3>
getSeverity</H3>
<PRE>
int <B>getSeverity</B>()</PRE>
<DL>
<DD><p>
Returns the severity level of the message. One of SeverityEnum constants.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the severity level of the message<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#HIGH_SEVERITY"><CODE>HIGH_SEVERITY</CODE></A>,
<A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#NORMAL_SEVERITY"><CODE>NORMAL_SEVERITY</CODE></A>,
<A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#LOW_SEVERITY"><CODE></p></CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getTargetObject()"><!-- --></A><H3>
getTargetObject</H3>
<PRE>
java.lang.Object <B>getTargetObject</B>()</PRE>
<DL>
<DD>Return the object that this IMessage is reporting the problem against, if any. null will be
returned if this is a general message which does not apply to a particular object; for
example, "internal error".
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the target object for the message</DL>
</DD>
</DL>
<HR>
<A NAME="getText()"><!-- --></A><H3>
getText</H3>
<PRE>
java.lang.String <B>getText</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>a text representation of this message formatted in the default Locale, with the
bundle loaded by the default ClassLoader.</DL>
</DD>
</DL>
<HR>
<A NAME="getText(java.lang.ClassLoader)"><!-- --></A><H3>
getText</H3>
<PRE>
java.lang.String <B>getText</B>(java.lang.ClassLoader&nbsp;classLoader)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>classLoader</CODE> - The ClassLoader which will be used to load the ResourceBundle.
<DT><B>Returns:</B><DD>a text representation of this message formatted in the default locale, with the
bundle loaded by the specified ClassLoader.</DL>
</DD>
</DL>
<HR>
<A NAME="getText(java.util.Locale)"><!-- --></A><H3>
getText</H3>
<PRE>
java.lang.String <B>getText</B>(java.util.Locale&nbsp;locale)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The locale to translate the message text into.
<DT><B>Returns:</B><DD>a text representation of this message formatted in the specified locale, with the
bundle loaded by the default ClassLoader.</DL>
</DD>
</DL>
<HR>
<A NAME="getText(java.util.Locale, java.lang.ClassLoader)"><!-- --></A><H3>
getText</H3>
<PRE>
java.lang.String <B>getText</B>(java.util.Locale&nbsp;locale,
java.lang.ClassLoader&nbsp;classLoader)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The locale to translate the message text into.<DD><CODE>classLoader</CODE> - The ClassLoader which will be used to load the ResourceBundle.
<DT><B>Returns:</B><DD>a text representation of this message formatted in the specified locale, with the
bundle loaded by the specified ClassLoader.</DL>
</DD>
</DL>
<HR>
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
getAttribute</H3>
<PRE>
java.lang.Object <B>getAttribute</B>(java.lang.String&nbsp;attributeName)</PRE>
<DL>
<DD>Provides a way to store some additional attributes that a message would like to store
that can used by some other parties that are interested in those attribute values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attributeName</CODE> -
<DT><B>Returns:</B><DD>an Object basically the value associated with the object name.</DL>
</DD>
</DL>
<HR>
<A NAME="setAttribute(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setAttribute</H3>
<PRE>
void <B>setAttribute</B>(java.lang.String&nbsp;attributeName,
java.lang.Object&nbsp;value)</PRE>
<DL>
<DD>Set the attributeName and value as key value pair.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#getAttribute(java.lang.String)"><CODE>getAttribute(String attributeName)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setBundleName(java.lang.String)"><!-- --></A><H3>
setBundleName</H3>
<PRE>
void <B>setBundleName</B>(java.lang.String&nbsp;bundleName)</PRE>
<DL>
<DD>Set the name of the bundle which this message is contained in.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bundleName</CODE> - Name of the bundle which contains the message.</DL>
</DD>
</DL>
<HR>
<A NAME="setGroupName(java.lang.String)"><!-- --></A><H3>
setGroupName</H3>
<PRE>
void <B>setGroupName</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>To support removal of a subset of validation messages, an IValidator may assign group names
to IMessages. An IMessage subset will be identified by the name of its group. Default (null)
means no group.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the group.</DL>
</DD>
</DL>
<HR>
<A NAME="setId(java.lang.String)"><!-- --></A><H3>
setId</H3>
<PRE>
void <B>setId</B>(java.lang.String&nbsp;newId)</PRE>
<DL>
<DD>Set the id of the message. Message ids are used as the constants in property bundles which
localize the description of the message in a locale-independent fashion. The id is the key,
in the resource bundle, which identifies the string to be loaded. The id may not be null or
the empty string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newId</CODE> - Id of the message.</DL>
</DD>
</DL>
<HR>
<A NAME="setLength(int)"><!-- --></A><H3>
setLength</H3>
<PRE>
void <B>setLength</B>(int&nbsp;length)</PRE>
<DL>
<DD>Sets the length of the problem, starting from the offset. If unset, value =
IMessage.OFFSET_UNSET.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>length</CODE> - Sets the length.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#setOffset(int)"><CODE>setOffset(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setLineNo(int)"><!-- --></A><H3>
setLineNo</H3>
<PRE>
void <B>setLineNo</B>(int&nbsp;lineNumber)</PRE>
<DL>
<DD>If there is a target object associated with this IMessage, and that target object is a file,
then an optional line number may be set. The line number identifies the location of the
problem identified by this message. To indicate no line number, use #LINENO_UNSET.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - Sets the line number.</DL>
</DD>
</DL>
<HR>
<A NAME="setOffset(int)"><!-- --></A><H3>
setOffset</H3>
<PRE>
void <B>setOffset</B>(int&nbsp;offset)</PRE>
<DL>
<DD>Sets the offset of the message. If unset, value = IMessage.OFFSET_UNSET. For example, if the
java compiler were a validator, and it reported that a variable name was unknown, offset
would identify the position of the first character of the unknown variable. The position is
identified by the number of characters from the start of the file.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - Sets the offset of the message.</DL>
</DD>
</DL>
<HR>
<A NAME="setParams(java.lang.String[])"><!-- --></A><H3>
setParams</H3>
<PRE>
void <B>setParams</B>(java.lang.String[]&nbsp;newParams)</PRE>
<DL>
<DD>Sets the parameters of the message. Message parameters are the values which are substituted
into parameter slots in localized message text descriptions.
<p>
For example, if getId() returns "MY_ID", then the ResourceBundle identified by
getBundleName() is searched for the message named "MY_ID", and if found,
has it's parameters set.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newParams</CODE> - Parameters of the message.<DT><B>See Also:</B><DD><CODE>is invoked on the message, with
<code>newParams</code> passed in as the Object[].</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setSeverity(int)"><!-- --></A><H3>
setSeverity</H3>
<PRE>
void <B>setSeverity</B>(int&nbsp;newSeverity)</PRE>
<DL>
<DD>Sets the severity level of the message. One of SeverityEnum constants.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newSeverity</CODE> - Severity level of the message.<DT><B>See Also:</B><DD><A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#HIGH_SEVERITY"><CODE>HIGH_SEVERITY</CODE></A>,
<A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#NORMAL_SEVERITY"><CODE>NORMAL_SEVERITY</CODE></A>,
<A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMessage.html#LOW_SEVERITY"><CODE>LOW_SEVERITY</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setTargetObject(java.lang.Object)"><!-- --></A><H3>
setTargetObject</H3>
<PRE>
void <B>setTargetObject</B>(java.lang.Object&nbsp;obj)</PRE>
<DL>
<DD>Associate this IMessage with the object that has the problem. A null value is permitted. If a
message is applicable to one object, then this value should be set. Otherwise, the default
value (null) should be kept. Given this target object, it should be possible to calculate the
exact location of the problem.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object that has the problem.</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributes()"><!-- --></A><H3>
getAttributes</H3>
<PRE>
java.util.HashMap <B>getAttributes</B>()</PRE>
<DL>
<DD>Return all the attributes of a Message object.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMarkerId()"><!-- --></A><H3>
getMarkerId</H3>
<PRE>
java.lang.String <B>getMarkerId</B>()</PRE>
<DL>
<DD>Return the marker id if one is set on this object when created.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setMarkerId(java.lang.String)"><!-- --></A><H3>
setMarkerId</H3>
<PRE>
void <B>setMarkerId</B>(java.lang.String&nbsp;markerId)</PRE>
<DL>
<DD>Set the marker id on a Message object.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/validation/internal/provisional/core/IMetaModelContext.html" title="interface in org.eclipse.wst.validation.internal.provisional.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/eclipse/wst/validation/internal/provisional/core/IMessage.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="IMessage.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>