org.eclipse.xtext.resource
Class XtextSyntaxDiagnostic

java.lang.Object
  extended by org.eclipse.xtext.diagnostics.AbstractDiagnostic
      extended by org.eclipse.xtext.resource.XtextSyntaxDiagnostic
All Implemented Interfaces:
org.eclipse.emf.ecore.resource.Resource.Diagnostic, Diagnostic

public class XtextSyntaxDiagnostic
extends AbstractDiagnostic

Author:
Dennis Hübner - Initial contribution and API

Field Summary
 
Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC
 
Constructor Summary
XtextSyntaxDiagnostic(INode errorNode)
           
 
Method Summary
 java.lang.String getCode()
           
 java.lang.String[] getData()
           
 java.lang.String getMessage()
           
protected  INode getNode()
           
 
Methods inherited from class org.eclipse.xtext.diagnostics.AbstractDiagnostic
getColumn, getLength, getLine, getLocation, getOffset, getUriToProblem, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XtextSyntaxDiagnostic

public XtextSyntaxDiagnostic(INode errorNode)
Method Detail

getCode

public java.lang.String getCode()
Specified by:
getCode in class AbstractDiagnostic

getData

public java.lang.String[] getData()
Specified by:
getData in class AbstractDiagnostic

getNode

protected INode getNode()
Specified by:
getNode in class AbstractDiagnostic

getMessage

public java.lang.String getMessage()