|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.util.EObjectValidator
com.ibm.adt.ovf.ext.util.ExtValidator
public class ExtValidator
The Validator for the model.
ExtPackage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EObjectValidator |
---|
EObjectValidator.DynamicEDataTypeValidator |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator |
---|
EValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider |
Field Summary | |
---|---|
protected static int |
DIAGNOSTIC_CODE_COUNT
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class. |
static java.lang.String |
DIAGNOSTIC_SOURCE
A constant for the source of diagnostic codes from this package. |
static ExtValidator |
INSTANCE
The cached model package |
Fields inherited from interface org.eclipse.emf.ecore.EValidator |
---|
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE |
Constructor Summary | |
---|---|
ExtValidator()
Creates an instance of the switch. |
Method Summary | |
---|---|
protected EPackage |
getEPackage()
Returns the package of this validator switch. |
ResourceLocator |
getResourceLocator()
Returns the resource locator that will be used to fetch messages for this validator's diagnostics. |
protected boolean |
validate(int classifierID,
java.lang.Object value,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Calls validateXXX for the corresponding classifier of the model. |
boolean |
validateDocumentRoot(DocumentRoot documentRoot,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
boolean |
validateProgrammaticUnitType_ValidSyntax(ProgrammaticUnitType programmaticUnitType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the ValidSyntax constraint of 'Programmatic Unit Type'. |
boolean |
validateProgrammaticUnitType(ProgrammaticUnitType programmaticUnitType,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ExtValidator INSTANCE
public static final java.lang.String DIAGNOSTIC_SOURCE
source
of diagnostic codes
from this package.
Diagnostic.getSource()
,
Diagnostic.getCode()
,
Constant Field Valuesprotected static final int DIAGNOSTIC_CODE_COUNT
Constructor Detail |
---|
public ExtValidator()
Method Detail |
---|
protected EPackage getEPackage()
getEPackage
in class EObjectValidator
protected boolean validate(int classifierID, java.lang.Object value, DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validateXXX
for the corresponding classifier of the model.
validate
in class EObjectValidator
public boolean validateProgrammaticUnitType(ProgrammaticUnitType programmaticUnitType, DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public boolean validateProgrammaticUnitType_ValidSyntax(ProgrammaticUnitType programmaticUnitType, DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
public ResourceLocator getResourceLocator()
getResourceLocator
in class EObjectValidator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |