|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A validity checker.
| Nested Class Summary | |
|---|---|
static interface |
EValidator.Descriptor
An EValidator wrapper that is used by the EValidator.Registry. |
static interface |
EValidator.PatternMatcher
An common interface for pattern-based constraints. |
static interface |
EValidator.Registry
A map from EPackage to EValidator. |
static interface |
EValidator.SubstitutionLabelProvider
An interface for providing labels used within message substitutions. |
| Field Summary | |
|---|---|
static java.lang.String |
MARKER
This is the ID used for Eclipse markers which are based on diagnostics. |
static java.lang.String |
URI_ATTRIBUTE
This is the name of the marker attribute to hold the String reprsentation of the URI of the object that is the target of the marker. |
| Method Summary | |
|---|---|
boolean |
validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
java.util.Map context)
|
boolean |
validate(EDataType eDataType,
java.lang.Object value,
DiagnosticChain diagnostics,
java.util.Map context)
|
boolean |
validate(EObject eObject,
DiagnosticChain diagnostics,
java.util.Map context)
Validates the object in the given context, optionally producing diagnostics. |
| Field Detail |
public static final java.lang.String MARKER
public static final java.lang.String URI_ATTRIBUTE
URI of the object that is the target of the marker.
EcoreUtil.getURI(org.eclipse.emf.ecore.EObject),
Constant Field Values| Method Detail |
public boolean validate(EObject eObject,
DiagnosticChain diagnostics,
java.util.Map context)
diagnostics - a place to accumulate diagnostics; if it's null, no diagnostics should be produced.context - a place to cache information, if it's null, no cache is supported.
public boolean validate(EClass eClass,
EObject eObject,
DiagnosticChain diagnostics,
java.util.Map context)
public boolean validate(EDataType eDataType,
java.lang.Object value,
DiagnosticChain diagnostics,
java.util.Map context)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||