|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.validation.internal.core.AbstractValidator
org.eclipse.cosmos.rm.validation.internal.core.AbstractSMLValidator
org.eclipse.cosmos.rm.validation.internal.smlvalidators.SchemaValidator
public class SchemaValidator
Validate SML instances against their schema and report any errors found.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.cosmos.rm.validation.internal.core.ISMLValidator |
|---|
SCOPE_ACYCLIC, SCOPE_GRP_ALL, SCOPE_GRP_ID_CONSTRAINTS, SCOPE_GRP_REF_CONSTRAINTS, SCOPE_KEY, SCOPE_KEY_REF, SCOPE_TARGET_ELEMENT, SCOPE_TARGET_TYPE, SCOPE_UNIQUE |
| Fields inherited from interface org.eclipse.cosmos.rm.validation.internal.core.IValidator |
|---|
ATTRIBUTE_ENV, ATTRIBUTE_FAST_FAIL_POLICY, ATTRIBUTE_FILE_OUTPUT, ATTRIBUTE_INPUT_TYPE, ATTRIBUTE_INSTANCE, ATTRIBUTE_OUTPUT, ATTRIBUTE_SCHEMATRON_SCHEMA, ATTRIBUTE_SML_IF_SCHEMA, ATTRIBUTE_STRUCTURED_OUTPUT, ATTRIBUTE_VALIDATION_SCHEMATRON, ATTRIBUTE_VALIDATION_SML, ATTRIBUTE_VALIDATION_XML, VALUE_ENV_ECLIPSE, VALUE_ENV_STANDALONE, VALUE_SML_IF, VALUE_SML_UNIT |
| Constructor Summary | |
|---|---|
SchemaValidator()
|
|
| Method Summary | |
|---|---|
void |
initialize(java.util.Map validationAttribute)
Read in common attributes that are shared between multiple validators. |
boolean |
validate()
Performs the validation and returns true if successful and false otherwise. |
| Methods inherited from class org.eclipse.cosmos.rm.validation.internal.core.AbstractSMLValidator |
|---|
getScope, setScope, shouldAbortOnError |
| Methods inherited from class org.eclipse.cosmos.rm.validation.internal.core.AbstractValidator |
|---|
addValidationListener, fireValidationEventOccurred, getValidationOutput, setValidationOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.cosmos.rm.validation.internal.core.IValidator |
|---|
addValidationListener |
| Constructor Detail |
|---|
public SchemaValidator()
| Method Detail |
|---|
public boolean validate()
IValidator
public void initialize(java.util.Map validationAttribute)
AbstractValidator
initialize in interface IValidatorinitialize in class AbstractValidatorvalidationAttribute - The validation outputsIValidator.initialize(java.util.Map)
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||