org.eclipse.uml2.uml.validation
Class IEValidatorProvider.UML

java.lang.Object
  extended by org.eclipse.uml2.uml.validation.IEValidatorProvider.Default
      extended by org.eclipse.uml2.uml.validation.IEValidatorProvider.UML
All Implemented Interfaces:
IEValidatorProvider
Enclosing interface:
IEValidatorProvider

public static class IEValidatorProvider.UML
extends IEValidatorProvider.Default

The UML IEValidatorProvider maps the UML package to the standard UML validator. For other packages, uses the validator registry to look up whatever validator is there.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.uml2.uml.validation.IEValidatorProvider
IEValidatorProvider.Default, IEValidatorProvider.UML
 
Constructor Summary
IEValidatorProvider.UML()
           
 
Method Summary
 org.eclipse.emf.ecore.EValidator getEValidator(org.eclipse.emf.ecore.EPackage ePackage)
          Obtains an appropriate EValidator for validation of instances of the specified ePackage.
 
Methods inherited from class org.eclipse.uml2.uml.validation.IEValidatorProvider.Default
getSubstitutionLabelProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEValidatorProvider.UML

public IEValidatorProvider.UML()
Method Detail

getEValidator

public org.eclipse.emf.ecore.EValidator getEValidator(org.eclipse.emf.ecore.EPackage ePackage)
Description copied from interface: IEValidatorProvider
Obtains an appropriate EValidator for validation of instances of the specified ePackage.

Specified by:
getEValidator in interface IEValidatorProvider
Overrides:
getEValidator in class IEValidatorProvider.Default
Parameters:
ePackage - a package for which to obtain a validator
Returns:
a suitable validator, or null if none could be found

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.