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() |
abstract java.lang.String[] |
getData() |
int |
getLength()
Returns the length of this diagnostic.
|
int |
getLine() |
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()
Diagnostic
getLength
in interface Diagnostic
public int getOffset()
Diagnostic
getOffset
in interface Diagnostic
public int getColumn()
getColumn
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public int getLine()
getLine
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public java.lang.String getLocation()
getLocation
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public org.eclipse.emf.common.util.URI getUriToProblem()
public java.lang.String toString()
toString
in class java.lang.Object