public abstract class AbstractDiagnostic extends java.lang.Object implements Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE| Constructor and Description |
|---|
AbstractDiagnostic() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getCode() |
int |
getColumn() |
int |
getColumnEnd()
Returns the end column location of the issue within the source.
|
abstract java.lang.String[] |
getData() |
int |
getLength()
Returns the length of this diagnostic.
|
int |
getLine() |
int |
getLineEnd()
Returns the end line location of the issue within the source.
|
java.lang.String |
getLocation() |
protected abstract INode |
getNode() |
int |
getOffset()
Returns the offset of this diagnostic.
|
org.eclipse.emf.common.util.URI |
getUriToProblem() |
java.lang.String |
toString() |
protected abstract INode getNode()
public abstract java.lang.String getCode()
public abstract java.lang.String[] getData()
public int getLength()
DiagnosticgetLength in interface Diagnosticpublic int getOffset()
DiagnosticgetOffset in interface Diagnosticpublic int getColumn()
getColumn in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic int getLine()
getLine in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic int getLineEnd()
Diagnostic1 is the first line of a document.getLineEnd in interface Diagnosticpublic int getColumnEnd()
Diagnostic1 is the first column of a line.getColumnEnd in interface Diagnosticpublic java.lang.String getLocation()
getLocation in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic org.eclipse.emf.common.util.URI getUriToProblem()
public java.lang.String toString()
toString in class java.lang.Object