Package net.opengis.gml.util
Class GmlValidator
- Object
-
- EObjectValidator
-
- GmlValidator
-
- All Implemented Interfaces:
EValidator
public class GmlValidator extends EObjectValidator
The Validator for the model.- See Also:
GmlPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
DIAGNOSTIC_CODE_COUNT
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.static String
DIAGNOSTIC_SOURCE
A constant for thesource
of diagnosticcodes
from this package.static GmlValidator
INSTANCE
The cached model packageprotected XMLTypeValidator
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
-
-
Constructor Summary
Constructors Constructor Description GmlValidator()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPackage
getEPackage()
Returns the package of this validator switch.protected boolean
validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context)
CallsvalidateXXX
for the corresponding classifier of the model.boolean
validateAbstractGeometricPrimitiveType(AbstractGeometricPrimitiveType abstractGeometricPrimitiveType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractGeometryBaseType(AbstractGeometryBaseType abstractGeometryBaseType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractGeometryType(AbstractGeometryType abstractGeometryType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractGMLType(AbstractGMLType abstractGMLType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractMetaDataType(AbstractMetaDataType abstractMetaDataType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractRingPropertyType(AbstractRingPropertyType abstractRingPropertyType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractRingType(AbstractRingType abstractRingType, DiagnosticChain diagnostics, Map context)
boolean
validateAbstractSurfaceType(AbstractSurfaceType abstractSurfaceType, DiagnosticChain diagnostics, Map context)
boolean
validateBoundingShapeType(BoundingShapeType boundingShapeType, DiagnosticChain diagnostics, Map context)
boolean
validateCodeListType(CodeListType codeListType, DiagnosticChain diagnostics, Map context)
boolean
validateCodeType(CodeType codeType, DiagnosticChain diagnostics, Map context)
boolean
validateDirectPositionType(DirectPositionType directPositionType, DiagnosticChain diagnostics, Map context)
boolean
validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map context)
boolean
validateDoubleList(List doubleList, DiagnosticChain diagnostics, Map context)
boolean
validateDoubleList_ItemType(List doubleList, DiagnosticChain diagnostics, Map context)
Validates the ItemType constraint of 'Double List'.boolean
validateEnvelopeType(EnvelopeType envelopeType, DiagnosticChain diagnostics, Map context)
boolean
validateEnvelopeWithTimePeriodType(EnvelopeWithTimePeriodType envelopeWithTimePeriodType, DiagnosticChain diagnostics, Map context)
boolean
validateGridEnvelope(GridEnvelope gridEnvelope, DiagnosticChain diagnostics, Map context)
boolean
validateGridEnvelopeType(GridEnvelopeType gridEnvelopeType, DiagnosticChain diagnostics, Map context)
boolean
validateGridLimitsType(GridLimitsType gridLimitsType, DiagnosticChain diagnostics, Map context)
boolean
validateGridType(GridType gridType, DiagnosticChain diagnostics, Map context)
boolean
validateIntegerList(List integerList, DiagnosticChain diagnostics, Map context)
boolean
validateIntegerList_ItemType(List integerList, DiagnosticChain diagnostics, Map context)
Validates the ItemType constraint of 'Integer List'.boolean
validateLinearRingType(LinearRingType linearRingType, DiagnosticChain diagnostics, Map context)
boolean
validateMetaDataPropertyType(MetaDataPropertyType metaDataPropertyType, DiagnosticChain diagnostics, Map context)
boolean
validateNameList(List nameList, DiagnosticChain diagnostics, Map context)
boolean
validateNameList_ItemType(List nameList, DiagnosticChain diagnostics, Map context)
Validates the ItemType constraint of 'Name List'.boolean
validatePointType(PointType pointType, DiagnosticChain diagnostics, Map context)
boolean
validatePolygonType(PolygonType polygonType, DiagnosticChain diagnostics, Map context)
boolean
validateRectifiedGridType(RectifiedGridType rectifiedGridType, DiagnosticChain diagnostics, Map context)
boolean
validateReferenceType(ReferenceType referenceType, DiagnosticChain diagnostics, Map context)
boolean
validateStringOrRefType(StringOrRefType stringOrRefType, DiagnosticChain diagnostics, Map context)
boolean
validateTemporalPositionType(Object temporalPositionType, DiagnosticChain diagnostics, Map context)
boolean
validateTemporalPositionType_MemberTypes(Object temporalPositionType, DiagnosticChain diagnostics, Map context)
Validates the MemberTypes constraint of 'Temporal Position Type'.boolean
validateTimeDurationType(Object timeDurationType, DiagnosticChain diagnostics, Map context)
boolean
validateTimeDurationType_MemberTypes(Object timeDurationType, DiagnosticChain diagnostics, Map context)
Validates the MemberTypes constraint of 'Time Duration Type'.boolean
validateTimeIndeterminateValueType(TimeIndeterminateValueType timeIndeterminateValueType, DiagnosticChain diagnostics, Map context)
boolean
validateTimeIndeterminateValueTypeObject(TimeIndeterminateValueType timeIndeterminateValueTypeObject, DiagnosticChain diagnostics, Map context)
boolean
validateTimePositionType(TimePositionType timePositionType, DiagnosticChain diagnostics, Map context)
boolean
validateVectorType(VectorType vectorType, DiagnosticChain diagnostics, Map context)
boolean
validateVectorTypeBase(List vectorTypeBase, DiagnosticChain diagnostics, Map context)
-
Methods inherited from class EObjectValidator
createBadDataValueDiagnostic, createDiagnostic, getAvailableChoices, getEcoreResourceLocator, getEcoreString, getFeatureLabel, getObjectLabel, getResourceLocator, 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 Detail
-
INSTANCE
public static final GmlValidator INSTANCE
The cached model package
-
DIAGNOSTIC_SOURCE
public static final String 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_COUNT
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.- See Also:
- Constant Field Values
-
xmlTypeValidator
protected XMLTypeValidator xmlTypeValidator
The cached base package validator.
-
-
Method Detail
-
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 context)
CallsvalidateXXX
for the corresponding classifier of the model.- Overrides:
validate
in classEObjectValidator
-
validateAbstractGeometricPrimitiveType
public boolean validateAbstractGeometricPrimitiveType(AbstractGeometricPrimitiveType abstractGeometricPrimitiveType, DiagnosticChain diagnostics, Map context)
-
validateAbstractGeometryBaseType
public boolean validateAbstractGeometryBaseType(AbstractGeometryBaseType abstractGeometryBaseType, DiagnosticChain diagnostics, Map context)
-
validateAbstractGeometryType
public boolean validateAbstractGeometryType(AbstractGeometryType abstractGeometryType, DiagnosticChain diagnostics, Map context)
-
validateAbstractGMLType
public boolean validateAbstractGMLType(AbstractGMLType abstractGMLType, DiagnosticChain diagnostics, Map context)
-
validateAbstractMetaDataType
public boolean validateAbstractMetaDataType(AbstractMetaDataType abstractMetaDataType, DiagnosticChain diagnostics, Map context)
-
validateAbstractRingPropertyType
public boolean validateAbstractRingPropertyType(AbstractRingPropertyType abstractRingPropertyType, DiagnosticChain diagnostics, Map context)
-
validateAbstractRingType
public boolean validateAbstractRingType(AbstractRingType abstractRingType, DiagnosticChain diagnostics, Map context)
-
validateAbstractSurfaceType
public boolean validateAbstractSurfaceType(AbstractSurfaceType abstractSurfaceType, DiagnosticChain diagnostics, Map context)
-
validateBoundingShapeType
public boolean validateBoundingShapeType(BoundingShapeType boundingShapeType, DiagnosticChain diagnostics, Map context)
-
validateCodeListType
public boolean validateCodeListType(CodeListType codeListType, DiagnosticChain diagnostics, Map context)
-
validateCodeType
public boolean validateCodeType(CodeType codeType, DiagnosticChain diagnostics, Map context)
-
validateDirectPositionType
public boolean validateDirectPositionType(DirectPositionType directPositionType, DiagnosticChain diagnostics, Map context)
-
validateDocumentRoot
public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map context)
-
validateEnvelopeType
public boolean validateEnvelopeType(EnvelopeType envelopeType, DiagnosticChain diagnostics, Map context)
-
validateEnvelopeWithTimePeriodType
public boolean validateEnvelopeWithTimePeriodType(EnvelopeWithTimePeriodType envelopeWithTimePeriodType, DiagnosticChain diagnostics, Map context)
-
validateGridEnvelopeType
public boolean validateGridEnvelopeType(GridEnvelopeType gridEnvelopeType, DiagnosticChain diagnostics, Map context)
-
validateGridLimitsType
public boolean validateGridLimitsType(GridLimitsType gridLimitsType, DiagnosticChain diagnostics, Map context)
-
validateGridType
public boolean validateGridType(GridType gridType, DiagnosticChain diagnostics, Map context)
-
validateLinearRingType
public boolean validateLinearRingType(LinearRingType linearRingType, DiagnosticChain diagnostics, Map context)
-
validateMetaDataPropertyType
public boolean validateMetaDataPropertyType(MetaDataPropertyType metaDataPropertyType, DiagnosticChain diagnostics, Map context)
-
validatePointType
public boolean validatePointType(PointType pointType, DiagnosticChain diagnostics, Map context)
-
validatePolygonType
public boolean validatePolygonType(PolygonType polygonType, DiagnosticChain diagnostics, Map context)
-
validateRectifiedGridType
public boolean validateRectifiedGridType(RectifiedGridType rectifiedGridType, DiagnosticChain diagnostics, Map context)
-
validateReferenceType
public boolean validateReferenceType(ReferenceType referenceType, DiagnosticChain diagnostics, Map context)
-
validateStringOrRefType
public boolean validateStringOrRefType(StringOrRefType stringOrRefType, DiagnosticChain diagnostics, Map context)
-
validateTimePositionType
public boolean validateTimePositionType(TimePositionType timePositionType, DiagnosticChain diagnostics, Map context)
-
validateVectorType
public boolean validateVectorType(VectorType vectorType, DiagnosticChain diagnostics, Map context)
-
validateTimeIndeterminateValueType
public boolean validateTimeIndeterminateValueType(TimeIndeterminateValueType timeIndeterminateValueType, DiagnosticChain diagnostics, Map context)
-
validateDoubleList
public boolean validateDoubleList(List doubleList, DiagnosticChain diagnostics, Map context)
-
validateDoubleList_ItemType
public boolean validateDoubleList_ItemType(List doubleList, DiagnosticChain diagnostics, Map context)
Validates the ItemType constraint of 'Double List'.
-
validateIntegerList
public boolean validateIntegerList(List integerList, DiagnosticChain diagnostics, Map context)
-
validateIntegerList_ItemType
public boolean validateIntegerList_ItemType(List integerList, DiagnosticChain diagnostics, Map context)
Validates the ItemType constraint of 'Integer List'.
-
validateNameList
public boolean validateNameList(List nameList, DiagnosticChain diagnostics, Map context)
-
validateNameList_ItemType
public boolean validateNameList_ItemType(List nameList, DiagnosticChain diagnostics, Map context)
Validates the ItemType constraint of 'Name List'.
-
validateTemporalPositionType
public boolean validateTemporalPositionType(Object temporalPositionType, DiagnosticChain diagnostics, Map context)
-
validateTemporalPositionType_MemberTypes
public boolean validateTemporalPositionType_MemberTypes(Object temporalPositionType, DiagnosticChain diagnostics, Map context)
Validates the MemberTypes constraint of 'Temporal Position Type'.
-
validateTimeDurationType
public boolean validateTimeDurationType(Object timeDurationType, DiagnosticChain diagnostics, Map context)
-
validateTimeDurationType_MemberTypes
public boolean validateTimeDurationType_MemberTypes(Object timeDurationType, DiagnosticChain diagnostics, Map context)
Validates the MemberTypes constraint of 'Time Duration Type'.
-
validateTimeIndeterminateValueTypeObject
public boolean validateTimeIndeterminateValueTypeObject(TimeIndeterminateValueType timeIndeterminateValueTypeObject, DiagnosticChain diagnostics, Map context)
-
validateVectorTypeBase
public boolean validateVectorTypeBase(List vectorTypeBase, DiagnosticChain diagnostics, Map context)
-
validateGridEnvelope
public boolean validateGridEnvelope(GridEnvelope gridEnvelope, DiagnosticChain diagnostics, Map context)
-
-