Package org.w3._2001.smil20.util
Class Smil20Validator
Object
EObjectValidator
Smil20Validator
- All Implemented Interfaces:
EValidator
public class Smil20Validator
extends EObjectValidator
The Validator for the model.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class EObjectValidator
EObjectValidator.DynamicEClassValidator, EObjectValidator.DynamicEDataTypeValidator
Nested classes/interfaces inherited from interface EValidator
EValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider, EValidator.ValidationDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.static final String
A constant for thesource
of diagnosticcodes
from this package.static final Smil20Validator
The cached model packagestatic final BigDecimal
protected XMLTypeValidator
The cached base package validator.Fields inherited from class EObjectValidator
DATA_VALUE__FRACTION_DIGITS_IN_RANGE, DATA_VALUE__LENGTH_IN_RANGE, DATA_VALUE__MATCHES_PATTERN, DATA_VALUE__TOTAL_DIGITS_IN_RANGE, DATA_VALUE__TYPE_CORRECT, DATA_VALUE__VALUE_IN_ENUMERATION, DATA_VALUE__VALUE_IN_RANGE, EOBJECT__EVERY_BIDIRECTIONAL_REFERENCE_IS_PAIRED, EOBJECT__EVERY_DATA_VALUE_CONFORMS, EOBJECT__EVERY_KEY_UNIQUE, EOBJECT__EVERY_MAP_ENTRY_UNIQUE, EOBJECT__EVERY_MULTIPCITY_CONFORMS, EOBJECT__EVERY_PROXY_RESOLVES, EOBJECT__EVERY_REFERENCE_IS_CONTAINED, EOBJECT__NO_CIRCULAR_CONTAINMENT, EOBJECT__UNIQUE_ID, ROOT_OBJECT
Fields inherited from interface EValidator
MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPackage
Returns the package of this validator switch.ResourceLocator
Returns the resource locator that will be used to fetch messages for this validator's diagnostics.protected boolean
CallsvalidateXXX
for the corresponding classifier of the model.boolean
validateAccumulateType
(AccumulateType accumulateType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAccumulateTypeObject
(AccumulateType accumulateTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAdditiveType
(AdditiveType additiveType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAdditiveTypeObject
(AdditiveType additiveTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAnimateColorPrototype
(AnimateColorPrototype animateColorPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAnimateMotionPrototype
(AnimateMotionPrototype animateMotionPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAnimatePrototype
(AnimatePrototype animatePrototype, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAttributeTypeType
(AttributeTypeType attributeTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAttributeTypeTypeObject
(AttributeTypeType attributeTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateCalcModeType
(CalcModeType calcModeType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateCalcModeTypeObject
(CalcModeType calcModeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateDocumentRoot
(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateFillDefaultType
(FillDefaultType fillDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateFillDefaultTypeObject
(FillDefaultType fillDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateFillTimingAttrsType
(FillTimingAttrsType fillTimingAttrsType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateFillTimingAttrsTypeObject
(FillTimingAttrsType fillTimingAttrsTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateNonNegativeDecimalType
(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateNonNegativeDecimalType_Min
(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Min constraint of 'Non Negative Decimal Type'.boolean
validateRestartDefaultType
(RestartDefaultType restartDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateRestartDefaultTypeObject
(RestartDefaultType restartDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateRestartTimingType
(RestartTimingType restartTimingType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateRestartTimingTypeObject
(RestartTimingType restartTimingTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSetPrototype
(SetPrototype setPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSyncBehaviorDefaultType
(SyncBehaviorDefaultType syncBehaviorDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSyncBehaviorDefaultTypeObject
(SyncBehaviorDefaultType syncBehaviorDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSyncBehaviorType
(SyncBehaviorType syncBehaviorType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSyncBehaviorTypeObject
(SyncBehaviorType syncBehaviorTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) Methods inherited from class EObjectValidator
createBadDataValueDiagnostic, createDiagnostic, getAvailableChoices, getEcoreResourceLocator, getEcoreString, getFeatureLabel, getObjectLabel, getRootEValidator, getString, getValidationDelegateRegistry, getValueLabel, isEcoreString, reportConstraintDelegateException, reportConstraintDelegateException, reportConstraintDelegateNotFound, reportConstraintDelegateNotFound, reportConstraintDelegateViolation, reportConstraintDelegateViolation, reportDataValuePatternViolation, reportDataValueTypeViolation, reportEnumerationViolation, reportFractionDigitsViolation, reportInvariantDelegateException, reportInvariantDelegateNotFound, reportInvariantDelegateViolation, reportMaxLengthViolation, reportMaxViolation, reportMinLengthViolation, reportMinViolation, reportTotalDigitsViolation, validate, validate, validate, validate, validate, validate, validate_BidirectionalReferenceIsPaired, validate_DataValueConforms, validate_EveryBidirectionalReferenceIsPaired, validate_EveryDataValueConforms, validate_EveryDefaultConstraint, validate_EveryKeyUnique, validate_EveryMapEntryUnique, validate_EveryMultiplicityConforms, validate_EveryProxyResolves, validate_EveryReferenceIsContained, validate_KeyUnique, validate_MapEntryUnique, validate_MultiplicityConforms, validate_NoCircularContainment, validate_UniqueID, validatePattern, wrapEnumerationValues
-
Field Details
-
INSTANCE
The cached model package -
DIAGNOSTIC_SOURCE
A constant for thesource
of diagnosticcodes
from this package.- See Also:
-
Diagnostic.getSource()
Diagnostic.getCode()
- Constant Field Values
-
DIAGNOSTIC_CODE_COUNT
protected static final int DIAGNOSTIC_CODE_COUNTA constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.- See Also:
-
xmlTypeValidator
protected XMLTypeValidator xmlTypeValidatorThe cached base package validator. -
NON_NEGATIVE_DECIMAL_TYPE__MIN__VALUE
-
-
Constructor Details
-
Smil20Validator
public Smil20Validator()Creates an instance of the switch.
-
-
Method Details
-
getEPackage
protected EPackage getEPackage()Returns the package of this validator switch.- Overrides:
getEPackage
in classEObjectValidator
-
validate
protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) CallsvalidateXXX
for the corresponding classifier of the model.- Overrides:
validate
in classEObjectValidator
-
validateAnimateColorPrototype
public boolean validateAnimateColorPrototype(AnimateColorPrototype animateColorPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAnimateMotionPrototype
public boolean validateAnimateMotionPrototype(AnimateMotionPrototype animateMotionPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAnimatePrototype
public boolean validateAnimatePrototype(AnimatePrototype animatePrototype, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateDocumentRoot
public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSetPrototype
public boolean validateSetPrototype(SetPrototype setPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAccumulateType
public boolean validateAccumulateType(AccumulateType accumulateType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAdditiveType
public boolean validateAdditiveType(AdditiveType additiveType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAttributeTypeType
public boolean validateAttributeTypeType(AttributeTypeType attributeTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateCalcModeType
public boolean validateCalcModeType(CalcModeType calcModeType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateFillDefaultType
public boolean validateFillDefaultType(FillDefaultType fillDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateFillTimingAttrsType
public boolean validateFillTimingAttrsType(FillTimingAttrsType fillTimingAttrsType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateRestartDefaultType
public boolean validateRestartDefaultType(RestartDefaultType restartDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateRestartTimingType
public boolean validateRestartTimingType(RestartTimingType restartTimingType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSyncBehaviorDefaultType
public boolean validateSyncBehaviorDefaultType(SyncBehaviorDefaultType syncBehaviorDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSyncBehaviorType
public boolean validateSyncBehaviorType(SyncBehaviorType syncBehaviorType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAccumulateTypeObject
public boolean validateAccumulateTypeObject(AccumulateType accumulateTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAdditiveTypeObject
public boolean validateAdditiveTypeObject(AdditiveType additiveTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAttributeTypeTypeObject
public boolean validateAttributeTypeTypeObject(AttributeTypeType attributeTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateCalcModeTypeObject
public boolean validateCalcModeTypeObject(CalcModeType calcModeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateFillDefaultTypeObject
public boolean validateFillDefaultTypeObject(FillDefaultType fillDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateFillTimingAttrsTypeObject
public boolean validateFillTimingAttrsTypeObject(FillTimingAttrsType fillTimingAttrsTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateNonNegativeDecimalType
public boolean validateNonNegativeDecimalType(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateNonNegativeDecimalType_Min
public boolean validateNonNegativeDecimalType_Min(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Min constraint of 'Non Negative Decimal Type'. -
validateRestartDefaultTypeObject
public boolean validateRestartDefaultTypeObject(RestartDefaultType restartDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateRestartTimingTypeObject
public boolean validateRestartTimingTypeObject(RestartTimingType restartTimingTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSyncBehaviorDefaultTypeObject
public boolean validateSyncBehaviorDefaultTypeObject(SyncBehaviorDefaultType syncBehaviorDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSyncBehaviorTypeObject
public boolean validateSyncBehaviorTypeObject(SyncBehaviorType syncBehaviorTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
getResourceLocator
public ResourceLocator getResourceLocator()Returns the resource locator that will be used to fetch messages for this validator's diagnostics.- Overrides:
getResourceLocator
in classEObjectValidator
-