Package net.opengis.wmts.v_1.util
Class wmtsv_1Validator
Object
EObjectValidator
wmtsv_1Validator
- All Implemented Interfaces:
EValidator
public class wmtsv_1Validator
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 TypeFieldDescriptionstatic final EValidator.PatternMatcher[][]
protected 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 wmtsv_1Validator
The cached model packagestatic final EValidator.PatternMatcher[][]
static final EValidator.PatternMatcher[][]
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
validateAcceptedFormatsType
(String acceptedFormatsType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateAcceptedFormatsType_Pattern
(String acceptedFormatsType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Pattern constraint of 'Accepted Formats Type'.boolean
validateBinaryPayloadType
(BinaryPayloadType binaryPayloadType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateCapabilitiesType
(CapabilitiesType capabilitiesType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateContentsType
(ContentsType contentsType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateDimensionNameValueType
(DimensionNameValueType dimensionNameValueType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateDimensionType
(DimensionType dimensionType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateDocumentRoot
(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateFeatureInfoResponseType
(FeatureInfoResponseType featureInfoResponseType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetCapabilitiesType
(GetCapabilitiesType getCapabilitiesType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetCapabilitiesValueType
(GetCapabilitiesValueType getCapabilitiesValueType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetCapabilitiesValueTypeObject
(GetCapabilitiesValueType getCapabilitiesValueTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetFeatureInfoType
(GetFeatureInfoType getFeatureInfoType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetFeatureInfoValueType
(GetFeatureInfoValueType getFeatureInfoValueType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetFeatureInfoValueTypeObject
(GetFeatureInfoValueType getFeatureInfoValueTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetTileType
(GetTileType getTileType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetTileValueType
(GetTileValueType getTileValueType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateGetTileValueTypeObject
(GetTileValueType getTileValueTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateLayerType
(LayerType layerType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateLegendURLType
(LegendURLType legendURLType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateRequestServiceType
(RequestServiceType requestServiceType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateRequestServiceTypeObject
(RequestServiceType requestServiceTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateResourceTypeType
(ResourceTypeType resourceTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateResourceTypeTypeObject
(ResourceTypeType resourceTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSectionsType
(String sectionsType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateSectionsType_Pattern
(String sectionsType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Pattern constraint of 'Sections Type'.boolean
validateStyleType
(StyleType styleType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTemplateType
(String templateType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTemplateType_Pattern
(String templateType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Pattern constraint of 'Template Type'.boolean
validateTextPayloadType
(TextPayloadType textPayloadType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateThemesType
(ThemesType themesType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateThemeType
(ThemeType themeType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTileMatrixLimitsType
(TileMatrixLimitsType tileMatrixLimitsType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTileMatrixSetLimitsType
(TileMatrixSetLimitsType tileMatrixSetLimitsType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTileMatrixSetLinkType
(TileMatrixSetLinkType tileMatrixSetLinkType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTileMatrixSetType
(TileMatrixSetType tileMatrixSetType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateTileMatrixType
(TileMatrixType tileMatrixType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateURLTemplateType
(URLTemplateType urlTemplateType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateVersionType
(VersionType versionType, DiagnosticChain diagnostics, Map<Object, Object> context) boolean
validateVersionTypeObject
(VersionType versionTypeObject, 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. -
ACCEPTED_FORMATS_TYPE__PATTERN__VALUES
public static final EValidator.PatternMatcher[][] ACCEPTED_FORMATS_TYPE__PATTERN__VALUES -
SECTIONS_TYPE__PATTERN__VALUES
public static final EValidator.PatternMatcher[][] SECTIONS_TYPE__PATTERN__VALUES -
TEMPLATE_TYPE__PATTERN__VALUES
public static final EValidator.PatternMatcher[][] TEMPLATE_TYPE__PATTERN__VALUES
-
-
Constructor Details
-
wmtsv_1Validator
public wmtsv_1Validator()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
-
validateBinaryPayloadType
public boolean validateBinaryPayloadType(BinaryPayloadType binaryPayloadType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateCapabilitiesType
public boolean validateCapabilitiesType(CapabilitiesType capabilitiesType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateContentsType
public boolean validateContentsType(ContentsType contentsType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateDimensionNameValueType
public boolean validateDimensionNameValueType(DimensionNameValueType dimensionNameValueType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateDimensionType
public boolean validateDimensionType(DimensionType dimensionType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateDocumentRoot
public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateFeatureInfoResponseType
public boolean validateFeatureInfoResponseType(FeatureInfoResponseType featureInfoResponseType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetCapabilitiesType
public boolean validateGetCapabilitiesType(GetCapabilitiesType getCapabilitiesType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetFeatureInfoType
public boolean validateGetFeatureInfoType(GetFeatureInfoType getFeatureInfoType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetTileType
public boolean validateGetTileType(GetTileType getTileType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateLayerType
public boolean validateLayerType(LayerType layerType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateLegendURLType
public boolean validateLegendURLType(LegendURLType legendURLType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateStyleType
public boolean validateStyleType(StyleType styleType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTextPayloadType
public boolean validateTextPayloadType(TextPayloadType textPayloadType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateThemesType
public boolean validateThemesType(ThemesType themesType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateThemeType
public boolean validateThemeType(ThemeType themeType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTileMatrixLimitsType
public boolean validateTileMatrixLimitsType(TileMatrixLimitsType tileMatrixLimitsType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTileMatrixSetLimitsType
public boolean validateTileMatrixSetLimitsType(TileMatrixSetLimitsType tileMatrixSetLimitsType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTileMatrixSetLinkType
public boolean validateTileMatrixSetLinkType(TileMatrixSetLinkType tileMatrixSetLinkType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTileMatrixSetType
public boolean validateTileMatrixSetType(TileMatrixSetType tileMatrixSetType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTileMatrixType
public boolean validateTileMatrixType(TileMatrixType tileMatrixType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateURLTemplateType
public boolean validateURLTemplateType(URLTemplateType urlTemplateType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetCapabilitiesValueType
public boolean validateGetCapabilitiesValueType(GetCapabilitiesValueType getCapabilitiesValueType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetFeatureInfoValueType
public boolean validateGetFeatureInfoValueType(GetFeatureInfoValueType getFeatureInfoValueType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetTileValueType
public boolean validateGetTileValueType(GetTileValueType getTileValueType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateRequestServiceType
public boolean validateRequestServiceType(RequestServiceType requestServiceType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateResourceTypeType
public boolean validateResourceTypeType(ResourceTypeType resourceTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateVersionType
public boolean validateVersionType(VersionType versionType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAcceptedFormatsType
public boolean validateAcceptedFormatsType(String acceptedFormatsType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateAcceptedFormatsType_Pattern
public boolean validateAcceptedFormatsType_Pattern(String acceptedFormatsType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Pattern constraint of 'Accepted Formats Type'. -
validateGetCapabilitiesValueTypeObject
public boolean validateGetCapabilitiesValueTypeObject(GetCapabilitiesValueType getCapabilitiesValueTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetFeatureInfoValueTypeObject
public boolean validateGetFeatureInfoValueTypeObject(GetFeatureInfoValueType getFeatureInfoValueTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateGetTileValueTypeObject
public boolean validateGetTileValueTypeObject(GetTileValueType getTileValueTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateRequestServiceTypeObject
public boolean validateRequestServiceTypeObject(RequestServiceType requestServiceTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateResourceTypeTypeObject
public boolean validateResourceTypeTypeObject(ResourceTypeType resourceTypeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSectionsType
public boolean validateSectionsType(String sectionsType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateSectionsType_Pattern
public boolean validateSectionsType_Pattern(String sectionsType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Pattern constraint of 'Sections Type'. -
validateTemplateType
public boolean validateTemplateType(String templateType, DiagnosticChain diagnostics, Map<Object, Object> context) -
validateTemplateType_Pattern
public boolean validateTemplateType_Pattern(String templateType, DiagnosticChain diagnostics, Map<Object, Object> context) Validates the Pattern constraint of 'Template Type'. -
validateVersionTypeObject
public boolean validateVersionTypeObject(VersionType versionTypeObject, 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
-