public class ResourceValidatorImpl extends Object implements IResourceValidator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ResourceValidatorImpl.ListBasedMarkerAcceptor |
NULL| Constructor and Description |
|---|
ResourceValidatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectResourceDiagnostics(org.eclipse.emf.ecore.resource.Resource resource,
CancelIndicator monitor,
IAcceptor<Issue> acceptor) |
protected IAcceptor<Issue> |
createAcceptor(List<Issue> result) |
IDiagnosticConverter |
getDiagnosticConverter() |
org.eclipse.emf.ecore.util.Diagnostician |
getDiagnostician() |
protected OperationCanceledManager |
getOperationCanceledManager() |
protected void |
issueFromEValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic,
IAcceptor<Issue> acceptor) |
protected void |
issueFromXtextResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic,
Severity severity,
IAcceptor<Issue> acceptor) |
protected void |
resolveProxies(org.eclipse.emf.ecore.resource.Resource resource,
CancelIndicator monitor) |
void |
setDiagnosticConverter(IDiagnosticConverter converter) |
void |
setDiagnostician(org.eclipse.emf.ecore.util.Diagnostician diagnostician) |
List<Issue> |
validate(org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
CancelIndicator mon)
Validates the given resource according to the
mode. |
protected void |
validate(org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
CancelIndicator monitor,
IAcceptor<Issue> acceptor) |
protected void |
validate(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EObject element,
CheckMode mode,
CancelIndicator monitor,
IAcceptor<Issue> acceptor) |
public List<Issue> validate(org.eclipse.emf.ecore.resource.Resource resource, CheckMode mode, CancelIndicator mon) throws OperationCanceledError
IResourceValidatormode. An optional CancelIndicator
may be provide to allow the method to exit early in case the long running validation was canceled by the
user.validate in interface IResourceValidatorOperationCanceledError - if the validation was cancelled, the method may exit with an OperationCanceledErrorprotected void collectResourceDiagnostics(org.eclipse.emf.ecore.resource.Resource resource,
CancelIndicator monitor,
IAcceptor<Issue> acceptor)
protected void validate(org.eclipse.emf.ecore.resource.Resource resource,
CheckMode mode,
CancelIndicator monitor,
IAcceptor<Issue> acceptor)
protected void validate(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EObject element,
CheckMode mode,
CancelIndicator monitor,
IAcceptor<Issue> acceptor)
protected void resolveProxies(org.eclipse.emf.ecore.resource.Resource resource,
CancelIndicator monitor)
protected void issueFromXtextResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic,
Severity severity,
IAcceptor<Issue> acceptor)
protected void issueFromEValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic,
IAcceptor<Issue> acceptor)
public void setDiagnostician(org.eclipse.emf.ecore.util.Diagnostician diagnostician)
public org.eclipse.emf.ecore.util.Diagnostician getDiagnostician()
public void setDiagnosticConverter(IDiagnosticConverter converter)
public IDiagnosticConverter getDiagnosticConverter()
protected OperationCanceledManager getOperationCanceledManager()
Copyright © 2015. All Rights Reserved.