org.eclipse.xtext.serializer.diagnostic
Class SerializationDiagnostic
java.lang.Object
org.eclipse.xtext.serializer.diagnostic.SerializationDiagnostic
- All Implemented Interfaces:
- ISerializationDiagnostic
public class SerializationDiagnostic
- extends java.lang.Object
- implements ISerializationDiagnostic
- Author:
- Moritz Eysholdt - Initial contribution and API
Field Summary |
protected org.eclipse.emf.ecore.EObject |
context
|
protected org.eclipse.emf.ecore.EStructuralFeature |
feature
|
protected java.lang.String |
message
|
protected org.eclipse.emf.ecore.EObject |
semanticObject
|
Constructor Summary |
SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
AbstractElement element,
java.lang.String message)
|
SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
org.eclipse.emf.ecore.EObject context,
java.lang.String message)
|
SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.String message)
|
SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
feature
protected org.eclipse.emf.ecore.EStructuralFeature feature
message
protected java.lang.String message
semanticObject
protected org.eclipse.emf.ecore.EObject semanticObject
context
protected org.eclipse.emf.ecore.EObject context
SerializationDiagnostic
public SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
AbstractElement element,
java.lang.String message)
SerializationDiagnostic
public SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.String message)
SerializationDiagnostic
public SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
org.eclipse.emf.ecore.EObject context,
java.lang.String message)
SerializationDiagnostic
public SerializationDiagnostic(java.lang.String id,
org.eclipse.emf.ecore.EObject semanticObject,
java.lang.String message)
breaksSyntax
public boolean breaksSyntax()
- Specified by:
breaksSyntax
in interface ISerializationDiagnostic
getException
public java.lang.Throwable getException()
- Specified by:
getException
in interface ISerializationDiagnostic
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage
in interface ISerializationDiagnostic
getSemanticObject
public org.eclipse.emf.ecore.EObject getSemanticObject()
- Specified by:
getSemanticObject
in interface ISerializationDiagnostic
getContext
public org.eclipse.emf.ecore.EObject getContext()
- Specified by:
getContext
in interface ISerializationDiagnostic
getId
public java.lang.String getId()
- Specified by:
getId
in interface ISerializationDiagnostic