Class SchemaValidator

  • All Implemented Interfaces:
    EValidator

    public class SchemaValidator
    extends EObjectValidator
    The Validator for the model.
    See Also:
    SchemaPackage
    • Constructor Detail

      • SchemaValidator

        public SchemaValidator()
        Creates an instance of the switch.
    • Method Detail

      • getEPackage

        protected EPackage getEPackage()
        Returns the package of this validator switch.
        Overrides:
        getEPackage in class EObjectValidator
      • validate

        protected boolean validate​(int classifierID,
                                   Object value,
                                   DiagnosticChain diagnostics,
                                   Map<Object,​Object> context)
        Calls validateXXX for the corresponding classifier of the model.
        Overrides:
        validate in class EObjectValidator
      • validateAll

        public boolean validateAll​(All all,
                                   DiagnosticChain diagnostics,
                                   Map<Object,​Object> context)
      • validateAnnotated

        public boolean validateAnnotated​(Annotated annotated,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateAnnotationType

        public boolean validateAnnotationType​(AnnotationType annotationType,
                                              DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateAnyType

        public boolean validateAnyType​(AnyType anyType,
                                       DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateAppinfoType

        public boolean validateAppinfoType​(AppinfoType appinfoType,
                                           DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateAttribute

        public boolean validateAttribute​(Attribute attribute,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateAttributeGroup

        public boolean validateAttributeGroup​(AttributeGroup attributeGroup,
                                              DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateAttributeGroupRef

        public boolean validateAttributeGroupRef​(AttributeGroupRef attributeGroupRef,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateComplexContentType

        public boolean validateComplexContentType​(ComplexContentType complexContentType,
                                                  DiagnosticChain diagnostics,
                                                  Map<Object,​Object> context)
      • validateComplexRestrictionType

        public boolean validateComplexRestrictionType​(ComplexRestrictionType complexRestrictionType,
                                                      DiagnosticChain diagnostics,
                                                      Map<Object,​Object> context)
      • validateComplexType

        public boolean validateComplexType​(ComplexType complexType,
                                           DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateDocumentationType

        public boolean validateDocumentationType​(DocumentationType documentationType,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateDocumentRoot

        public boolean validateDocumentRoot​(DocumentRoot documentRoot,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateElement

        public boolean validateElement​(Element element,
                                       DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateExplicitGroup

        public boolean validateExplicitGroup​(ExplicitGroup explicitGroup,
                                             DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateExtensionType

        public boolean validateExtensionType​(ExtensionType extensionType,
                                             DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateFacet

        public boolean validateFacet​(Facet facet,
                                     DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateFieldType

        public boolean validateFieldType​(FieldType fieldType,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateGroup

        public boolean validateGroup​(Group group,
                                     DiagnosticChain diagnostics,
                                     Map<Object,​Object> context)
      • validateGroupRef

        public boolean validateGroupRef​(GroupRef groupRef,
                                        DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateImportType

        public boolean validateImportType​(ImportType importType,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateIncludeType

        public boolean validateIncludeType​(IncludeType includeType,
                                           DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateKeybase

        public boolean validateKeybase​(Keybase keybase,
                                       DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateKeyrefType

        public boolean validateKeyrefType​(KeyrefType keyrefType,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateListType

        public boolean validateListType​(ListType listType,
                                        DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateLocalComplexType

        public boolean validateLocalComplexType​(LocalComplexType localComplexType,
                                                DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateLocalElement

        public boolean validateLocalElement​(LocalElement localElement,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateLocalSimpleType

        public boolean validateLocalSimpleType​(LocalSimpleType localSimpleType,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateNamedAttributeGroup

        public boolean validateNamedAttributeGroup​(NamedAttributeGroup namedAttributeGroup,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateNamedGroup

        public boolean validateNamedGroup​(NamedGroup namedGroup,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateNarrowMaxMin

        public boolean validateNarrowMaxMin​(NarrowMaxMin narrowMaxMin,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateNoFixedFacet

        public boolean validateNoFixedFacet​(NoFixedFacet noFixedFacet,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateNotationType

        public boolean validateNotationType​(NotationType notationType,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateNumFacet

        public boolean validateNumFacet​(NumFacet numFacet,
                                        DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateOpenAttrs

        public boolean validateOpenAttrs​(OpenAttrs openAttrs,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validatePatternType

        public boolean validatePatternType​(PatternType patternType,
                                           DiagnosticChain diagnostics,
                                           Map<Object,​Object> context)
      • validateRealGroup

        public boolean validateRealGroup​(RealGroup realGroup,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateRedefineType

        public boolean validateRedefineType​(RedefineType redefineType,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateRestrictionType

        public boolean validateRestrictionType​(RestrictionType restrictionType,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateRestrictionType1

        public boolean validateRestrictionType1​(RestrictionType1 restrictionType1,
                                                DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateSchemaType

        public boolean validateSchemaType​(SchemaType schemaType,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateSelectorType

        public boolean validateSelectorType​(SelectorType selectorType,
                                            DiagnosticChain diagnostics,
                                            Map<Object,​Object> context)
      • validateSimpleContentType

        public boolean validateSimpleContentType​(SimpleContentType simpleContentType,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateSimpleExplicitGroup

        public boolean validateSimpleExplicitGroup​(SimpleExplicitGroup simpleExplicitGroup,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateSimpleExtensionType

        public boolean validateSimpleExtensionType​(SimpleExtensionType simpleExtensionType,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateSimpleRestrictionType

        public boolean validateSimpleRestrictionType​(SimpleRestrictionType simpleRestrictionType,
                                                     DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateSimpleType

        public boolean validateSimpleType​(SimpleType simpleType,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateTopLevelAttribute

        public boolean validateTopLevelAttribute​(TopLevelAttribute topLevelAttribute,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateTopLevelComplexType

        public boolean validateTopLevelComplexType​(TopLevelComplexType topLevelComplexType,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateTopLevelElement

        public boolean validateTopLevelElement​(TopLevelElement topLevelElement,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateTopLevelSimpleType

        public boolean validateTopLevelSimpleType​(TopLevelSimpleType topLevelSimpleType,
                                                  DiagnosticChain diagnostics,
                                                  Map<Object,​Object> context)
      • validateTotalDigitsType

        public boolean validateTotalDigitsType​(TotalDigitsType totalDigitsType,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateUnionType

        public boolean validateUnionType​(UnionType unionType,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateWhiteSpaceType

        public boolean validateWhiteSpaceType​(WhiteSpaceType whiteSpaceType,
                                              DiagnosticChain diagnostics,
                                              Map<Object,​Object> context)
      • validateWildcard

        public boolean validateWildcard​(Wildcard wildcard,
                                        DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateAllNNIMember1

        public boolean validateAllNNIMember1​(AllNNIMember1 allNNIMember1,
                                             DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateBlockSetMember0

        public boolean validateBlockSetMember0​(BlockSetMember0 blockSetMember0,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateBlockSetMember1Item

        public boolean validateBlockSetMember1Item​(BlockSetMember1Item blockSetMember1Item,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateDerivationControl

        public boolean validateDerivationControl​(DerivationControl derivationControl,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateDerivationSetMember0

        public boolean validateDerivationSetMember0​(DerivationSetMember0 derivationSetMember0,
                                                    DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateFormChoice

        public boolean validateFormChoice​(FormChoice formChoice,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateFullDerivationSetMember0

        public boolean validateFullDerivationSetMember0​(FullDerivationSetMember0 fullDerivationSetMember0,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
      • validateNamespaceListMember0

        public boolean validateNamespaceListMember0​(NamespaceListMember0 namespaceListMember0,
                                                    DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateProcessContentsType

        public boolean validateProcessContentsType​(ProcessContentsType processContentsType,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateReducedDerivationControl

        public boolean validateReducedDerivationControl​(ReducedDerivationControl reducedDerivationControl,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
      • validateSimpleDerivationSetMember0

        public boolean validateSimpleDerivationSetMember0​(SimpleDerivationSetMember0 simpleDerivationSetMember0,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
      • validateSimpleDerivationSetMember1Item

        public boolean validateSimpleDerivationSetMember1Item​(SimpleDerivationSetMember1Item simpleDerivationSetMember1Item,
                                                              DiagnosticChain diagnostics,
                                                              Map<Object,​Object> context)
      • validateTypeDerivationControl

        public boolean validateTypeDerivationControl​(TypeDerivationControl typeDerivationControl,
                                                     DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateUseType

        public boolean validateUseType​(UseType useType,
                                       DiagnosticChain diagnostics,
                                       Map<Object,​Object> context)
      • validateAllNNI

        public boolean validateAllNNI​(Object allNNI,
                                      DiagnosticChain diagnostics,
                                      Map<Object,​Object> context)
      • validateAllNNI_MemberTypes

        public boolean validateAllNNI_MemberTypes​(Object allNNI,
                                                  DiagnosticChain diagnostics,
                                                  Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'All NNI'.
      • validateAllNNIMember1Object

        public boolean validateAllNNIMember1Object​(AllNNIMember1 allNNIMember1Object,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateBlockSet

        public boolean validateBlockSet​(Object blockSet,
                                        DiagnosticChain diagnostics,
                                        Map<Object,​Object> context)
      • validateBlockSet_MemberTypes

        public boolean validateBlockSet_MemberTypes​(Object blockSet,
                                                    DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'Block Set'.
      • validateBlockSetMember0Object

        public boolean validateBlockSetMember0Object​(BlockSetMember0 blockSetMember0Object,
                                                     DiagnosticChain diagnostics,
                                                     Map<Object,​Object> context)
      • validateBlockSetMember1

        public boolean validateBlockSetMember1​(List<?> blockSetMember1,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateBlockSetMember1_ItemType

        public boolean validateBlockSetMember1_ItemType​(List<?> blockSetMember1,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
        Validates the ItemType constraint of 'Block Set Member1'.
      • validateBlockSetMember1ItemObject

        public boolean validateBlockSetMember1ItemObject​(BlockSetMember1Item blockSetMember1ItemObject,
                                                         DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
      • validateDerivationControlObject

        public boolean validateDerivationControlObject​(DerivationControl derivationControlObject,
                                                       DiagnosticChain diagnostics,
                                                       Map<Object,​Object> context)
      • validateDerivationSet

        public boolean validateDerivationSet​(Object derivationSet,
                                             DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateDerivationSet_MemberTypes

        public boolean validateDerivationSet_MemberTypes​(Object derivationSet,
                                                         DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'Derivation Set'.
      • validateDerivationSetMember0Object

        public boolean validateDerivationSetMember0Object​(DerivationSetMember0 derivationSetMember0Object,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
      • validateDerivationSetMember1

        public boolean validateDerivationSetMember1​(List<?> derivationSetMember1,
                                                    DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateDerivationSetMember1_ItemType

        public boolean validateDerivationSetMember1_ItemType​(List<?> derivationSetMember1,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the ItemType constraint of 'Derivation Set Member1'.
      • validateFormChoiceObject

        public boolean validateFormChoiceObject​(FormChoice formChoiceObject,
                                                DiagnosticChain diagnostics,
                                                Map<Object,​Object> context)
      • validateFullDerivationSet

        public boolean validateFullDerivationSet​(Object fullDerivationSet,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
      • validateFullDerivationSet_MemberTypes

        public boolean validateFullDerivationSet_MemberTypes​(Object fullDerivationSet,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'Full Derivation Set'.
      • validateFullDerivationSetMember0Object

        public boolean validateFullDerivationSetMember0Object​(FullDerivationSetMember0 fullDerivationSetMember0Object,
                                                              DiagnosticChain diagnostics,
                                                              Map<Object,​Object> context)
      • validateFullDerivationSetMember1

        public boolean validateFullDerivationSetMember1​(List<?> fullDerivationSetMember1,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
      • validateFullDerivationSetMember1_ItemType

        public boolean validateFullDerivationSetMember1_ItemType​(List<?> fullDerivationSetMember1,
                                                                 DiagnosticChain diagnostics,
                                                                 Map<Object,​Object> context)
        Validates the ItemType constraint of 'Full Derivation Set Member1'.
      • validateMemberTypesType

        public boolean validateMemberTypesType​(List<?> memberTypesType,
                                               DiagnosticChain diagnostics,
                                               Map<Object,​Object> context)
      • validateMemberTypesType_ItemType

        public boolean validateMemberTypesType_ItemType​(List<?> memberTypesType,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
        Validates the ItemType constraint of 'Member Types Type'.
      • validateNamespaceList

        public boolean validateNamespaceList​(Object namespaceList,
                                             DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateNamespaceList_MemberTypes

        public boolean validateNamespaceList_MemberTypes​(Object namespaceList,
                                                         DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'Namespace List'.
      • validateNamespaceListMember0Object

        public boolean validateNamespaceListMember0Object​(NamespaceListMember0 namespaceListMember0Object,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
      • validateNamespaceListMember1

        public boolean validateNamespaceListMember1​(List<?> namespaceListMember1,
                                                    DiagnosticChain diagnostics,
                                                    Map<Object,​Object> context)
      • validateNamespaceListMember1_ItemType

        public boolean validateNamespaceListMember1_ItemType​(List<?> namespaceListMember1,
                                                             DiagnosticChain diagnostics,
                                                             Map<Object,​Object> context)
        Validates the ItemType constraint of 'Namespace List Member1'.
      • validateNamespaceListMember1Item

        public boolean validateNamespaceListMember1Item​(Object namespaceListMember1Item,
                                                        DiagnosticChain diagnostics,
                                                        Map<Object,​Object> context)
      • validateNamespaceListMember1Item_MemberTypes

        public boolean validateNamespaceListMember1Item_MemberTypes​(Object namespaceListMember1Item,
                                                                    DiagnosticChain diagnostics,
                                                                    Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'Namespace List Member1 Item'.
      • validateNamespaceListMember1ItemMember1Object

        public boolean validateNamespaceListMember1ItemMember1Object​(NamespaceListMember1ItemMember1 namespaceListMember1ItemMember1Object,
                                                                     DiagnosticChain diagnostics,
                                                                     Map<Object,​Object> context)
      • validateProcessContentsTypeObject

        public boolean validateProcessContentsTypeObject​(ProcessContentsType processContentsTypeObject,
                                                         DiagnosticChain diagnostics,
                                                         Map<Object,​Object> context)
      • validatePublic

        public boolean validatePublic​(String public_,
                                      DiagnosticChain diagnostics,
                                      Map<Object,​Object> context)
      • validateReducedDerivationControlObject

        public boolean validateReducedDerivationControlObject​(ReducedDerivationControl reducedDerivationControlObject,
                                                              DiagnosticChain diagnostics,
                                                              Map<Object,​Object> context)
      • validateSimpleDerivationSet

        public boolean validateSimpleDerivationSet​(Object simpleDerivationSet,
                                                   DiagnosticChain diagnostics,
                                                   Map<Object,​Object> context)
      • validateSimpleDerivationSet_MemberTypes

        public boolean validateSimpleDerivationSet_MemberTypes​(Object simpleDerivationSet,
                                                               DiagnosticChain diagnostics,
                                                               Map<Object,​Object> context)
        Validates the MemberTypes constraint of 'Simple Derivation Set'.
      • validateSimpleDerivationSetMember0Object

        public boolean validateSimpleDerivationSetMember0Object​(SimpleDerivationSetMember0 simpleDerivationSetMember0Object,
                                                                DiagnosticChain diagnostics,
                                                                Map<Object,​Object> context)
      • validateSimpleDerivationSetMember1

        public boolean validateSimpleDerivationSetMember1​(List<?> simpleDerivationSetMember1,
                                                          DiagnosticChain diagnostics,
                                                          Map<Object,​Object> context)
      • validateSimpleDerivationSetMember1_ItemType

        public boolean validateSimpleDerivationSetMember1_ItemType​(List<?> simpleDerivationSetMember1,
                                                                   DiagnosticChain diagnostics,
                                                                   Map<Object,​Object> context)
        Validates the ItemType constraint of 'Simple Derivation Set Member1'.
      • validateSimpleDerivationSetMember1ItemObject

        public boolean validateSimpleDerivationSetMember1ItemObject​(SimpleDerivationSetMember1Item simpleDerivationSetMember1ItemObject,
                                                                    DiagnosticChain diagnostics,
                                                                    Map<Object,​Object> context)
      • validateTypeDerivationControlObject

        public boolean validateTypeDerivationControlObject​(TypeDerivationControl typeDerivationControlObject,
                                                           DiagnosticChain diagnostics,
                                                           Map<Object,​Object> context)
      • validateUseTypeObject

        public boolean validateUseTypeObject​(UseType useTypeObject,
                                             DiagnosticChain diagnostics,
                                             Map<Object,​Object> context)
      • validateXpathType

        public boolean validateXpathType​(String xpathType,
                                         DiagnosticChain diagnostics,
                                         Map<Object,​Object> context)
      • validateXpathType_Pattern

        public boolean validateXpathType_Pattern​(String xpathType,
                                                 DiagnosticChain diagnostics,
                                                 Map<Object,​Object> context)
        Validates the Pattern constraint of 'Xpath Type'.
      • validateXpathType1

        public boolean validateXpathType1​(String xpathType1,
                                          DiagnosticChain diagnostics,
                                          Map<Object,​Object> context)
      • validateXpathType1_Pattern

        public boolean validateXpathType1_Pattern​(String xpathType1,
                                                  DiagnosticChain diagnostics,
                                                  Map<Object,​Object> context)
        Validates the Pattern constraint of 'Xpath Type1'.
      • getResourceLocator

        public ResourceLocator getResourceLocator()
        Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
        Overrides:
        getResourceLocator in class EObjectValidator