public static final class AnalysisToParseErrorReporterAdapter.Factory extends java.lang.Object implements AnalysisErrorReporterFactory
ParseErrorReporterFactory
be able
to handle null
IResources. This is so that
Resources associated with standard property sets may be handled. These
files do not exist in the Eclipse workspace, and thus it is impossible
to get IResources for them.Constructor and Description |
---|
AnalysisToParseErrorReporterAdapter.Factory(ParseErrorReporterFactory fact) |
Modifier and Type | Method and Description |
---|---|
AnalysisErrorReporter |
getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
Obtain an error reporter to use for AAXL
Resource that holds
an AADL Object model. |
public AnalysisToParseErrorReporterAdapter.Factory(ParseErrorReporterFactory fact)
public AnalysisErrorReporter getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
AnalysisErrorReporterFactory
Resource
that holds
an AADL Object model. This method
must never return null
. If no factory can be
found/created then it must throw a IllegalArgumentException
.getReporterFor
in interface AnalysisErrorReporterFactory
rsrc
- The EMF Resource representing the AAXL object modelnull
.