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 SummaryNested classes/interfaces inherited from class EObjectValidatorEObjectValidator.DynamicEClassValidator, EObjectValidator.DynamicEDataTypeValidatorNested classes/interfaces inherited from interface EValidatorEValidator.Descriptor, EValidator.PatternMatcher, EValidator.Registry, EValidator.SubstitutionLabelProvider, EValidator.ValidationDelegate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final intA constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.static final StringA constant for thesourceof diagnosticcodesfrom this package.static final Smil20ValidatorThe cached model packagestatic final BigDecimalprotected XMLTypeValidatorThe cached base package validator.Fields inherited from class EObjectValidatorDATA_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_OBJECTFields inherited from interface EValidatorMARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected EPackageReturns the package of this validator switch.ResourceLocatorReturns the resource locator that will be used to fetch messages for this validator's diagnostics.protected booleanCallsvalidateXXXfor the corresponding classifier of the model.booleanvalidateAccumulateType(AccumulateType accumulateType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAccumulateTypeObject(AccumulateType accumulateTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAdditiveType(AdditiveType additiveType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAdditiveTypeObject(AdditiveType additiveTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAnimateColorPrototype(AnimateColorPrototype animateColorPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAnimateMotionPrototype(AnimateMotionPrototype animateMotionPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAnimatePrototype(AnimatePrototype animatePrototype, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAttributeTypeType(AttributeTypeType attributeTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateAttributeTypeTypeObject(AttributeTypeType attributeTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateCalcModeType(CalcModeType calcModeType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateCalcModeTypeObject(CalcModeType calcModeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateFillDefaultType(FillDefaultType fillDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateFillDefaultTypeObject(FillDefaultType fillDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateFillTimingAttrsType(FillTimingAttrsType fillTimingAttrsType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateFillTimingAttrsTypeObject(FillTimingAttrsType fillTimingAttrsTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateNonNegativeDecimalType(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateNonNegativeDecimalType_Min(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Min constraint of 'Non Negative Decimal Type'.booleanvalidateRestartDefaultType(RestartDefaultType restartDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateRestartDefaultTypeObject(RestartDefaultType restartDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateRestartTimingType(RestartTimingType restartTimingType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateRestartTimingTypeObject(RestartTimingType restartTimingTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateSetPrototype(SetPrototype setPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateSyncBehaviorDefaultType(SyncBehaviorDefaultType syncBehaviorDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateSyncBehaviorDefaultTypeObject(SyncBehaviorDefaultType syncBehaviorDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateSyncBehaviorType(SyncBehaviorType syncBehaviorType, DiagnosticChain diagnostics, Map<Object, Object> context) booleanvalidateSyncBehaviorTypeObject(SyncBehaviorType syncBehaviorTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) Methods inherited from class EObjectValidatorcreateBadDataValueDiagnostic, 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- 
INSTANCEThe cached model package
- 
DIAGNOSTIC_SOURCEA constant for thesourceof diagnosticcodesfrom this package.- See Also:
- 
- Diagnostic.getSource()
- Diagnostic.getCode()
- Constant Field Values
 
 
- 
DIAGNOSTIC_CODE_COUNTprotected 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:
 
- 
xmlTypeValidatorprotected XMLTypeValidator xmlTypeValidatorThe cached base package validator.
- 
NON_NEGATIVE_DECIMAL_TYPE__MIN__VALUE
 
- 
- 
Constructor Details- 
Smil20Validatorpublic Smil20Validator()Creates an instance of the switch.
 
- 
- 
Method Details- 
getEPackageprotected EPackage getEPackage()Returns the package of this validator switch.- Overrides:
- getEPackagein class- EObjectValidator
 
- 
validateprotected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) CallsvalidateXXXfor the corresponding classifier of the model.- Overrides:
- validatein class- EObjectValidator
 
- 
validateAnimateColorPrototypepublic boolean validateAnimateColorPrototype(AnimateColorPrototype animateColorPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAnimateMotionPrototypepublic boolean validateAnimateMotionPrototype(AnimateMotionPrototype animateMotionPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAnimatePrototypepublic boolean validateAnimatePrototype(AnimatePrototype animatePrototype, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateDocumentRootpublic boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateSetPrototypepublic boolean validateSetPrototype(SetPrototype setPrototype, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAccumulateTypepublic boolean validateAccumulateType(AccumulateType accumulateType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAdditiveTypepublic boolean validateAdditiveType(AdditiveType additiveType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAttributeTypeTypepublic boolean validateAttributeTypeType(AttributeTypeType attributeTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateCalcModeTypepublic boolean validateCalcModeType(CalcModeType calcModeType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateFillDefaultTypepublic boolean validateFillDefaultType(FillDefaultType fillDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateFillTimingAttrsTypepublic boolean validateFillTimingAttrsType(FillTimingAttrsType fillTimingAttrsType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateRestartDefaultTypepublic boolean validateRestartDefaultType(RestartDefaultType restartDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateRestartTimingTypepublic boolean validateRestartTimingType(RestartTimingType restartTimingType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateSyncBehaviorDefaultTypepublic boolean validateSyncBehaviorDefaultType(SyncBehaviorDefaultType syncBehaviorDefaultType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateSyncBehaviorTypepublic boolean validateSyncBehaviorType(SyncBehaviorType syncBehaviorType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAccumulateTypeObjectpublic boolean validateAccumulateTypeObject(AccumulateType accumulateTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAdditiveTypeObjectpublic boolean validateAdditiveTypeObject(AdditiveType additiveTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateAttributeTypeTypeObjectpublic boolean validateAttributeTypeTypeObject(AttributeTypeType attributeTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateCalcModeTypeObjectpublic boolean validateCalcModeTypeObject(CalcModeType calcModeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateFillDefaultTypeObjectpublic boolean validateFillDefaultTypeObject(FillDefaultType fillDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateFillTimingAttrsTypeObjectpublic boolean validateFillTimingAttrsTypeObject(FillTimingAttrsType fillTimingAttrsTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateNonNegativeDecimalTypepublic boolean validateNonNegativeDecimalType(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateNonNegativeDecimalType_Minpublic boolean validateNonNegativeDecimalType_Min(BigDecimal nonNegativeDecimalType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Min constraint of 'Non Negative Decimal Type'.
- 
validateRestartDefaultTypeObjectpublic boolean validateRestartDefaultTypeObject(RestartDefaultType restartDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateRestartTimingTypeObjectpublic boolean validateRestartTimingTypeObject(RestartTimingType restartTimingTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateSyncBehaviorDefaultTypeObjectpublic boolean validateSyncBehaviorDefaultTypeObject(SyncBehaviorDefaultType syncBehaviorDefaultTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
validateSyncBehaviorTypeObjectpublic boolean validateSyncBehaviorTypeObject(SyncBehaviorType syncBehaviorTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) 
- 
getResourceLocatorpublic ResourceLocator getResourceLocator()Returns the resource locator that will be used to fetch messages for this validator's diagnostics.- Overrides:
- getResourceLocatorin class- EObjectValidator
 
 
-