Package net.opengis.ows20.util
Class Ows20Switch<T>
Object
Switch<T>
Ows20Switch<T>
public class Ows20Switch<T>
extends Switch<T>
The Switch for the model's inheritance hierarchy.
It supports the call
doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Abstract Reference Base Type'.Returns the result of interpreting the object as an instance of 'Accept Formats Type'.Returns the result of interpreting the object as an instance of 'Accept Languages Type'.Returns the result of interpreting the object as an instance of 'Accept Versions Type'.Returns the result of interpreting the object as an instance of 'Additional Parameters Base Type'.Returns the result of interpreting the object as an instance of 'Additional Parameters Type'.Returns the result of interpreting the object as an instance of 'Additional Parameter Type'.caseAddressType
(AddressType object) Returns the result of interpreting the object as an instance of 'Address Type'.Returns the result of interpreting the object as an instance of 'Allowed Values Type'.caseAnyValueType
(AnyValueType object) Returns the result of interpreting the object as an instance of 'Any Value Type'.Returns the result of interpreting the object as an instance of 'Basic Identification Type'.caseBoundingBoxType
(BoundingBoxType object) Returns the result of interpreting the object as an instance of 'Bounding Box Type'.Returns the result of interpreting the object as an instance of 'Capabilities Base Type'.caseCodeType
(CodeType object) Returns the result of interpreting the object as an instance of 'Code Type'.caseContactType
(ContactType object) Returns the result of interpreting the object as an instance of 'Contact Type'.caseContentsBaseType
(ContentsBaseType object) Returns the result of interpreting the object as an instance of 'Contents Base Type'.Returns the result of interpreting the object as an instance of 'Dataset Description Summary Base Type'.caseDCPType
(DCPType object) Returns the result of interpreting the object as an instance of 'DCP Type'.caseDescriptionType
(DescriptionType object) Returns the result of interpreting the object as an instance of 'Description Type'.caseDocumentRoot
(DocumentRoot object) Returns the result of interpreting the object as an instance of 'Document Root'.Returns the result of interpreting the object as an instance of 'Domain Metadata Type'.caseDomainType
(DomainType object) Returns the result of interpreting the object as an instance of 'Domain Type'.Returns the result of interpreting the object as an instance of 'Exception Report Type'.caseExceptionType
(ExceptionType object) Returns the result of interpreting the object as an instance of 'Exception Type'.Returns the result of interpreting the object as an instance of 'Get Capabilities Type'.Returns the result of interpreting the object as an instance of 'Get Resource By Id Type'.caseHTTPType
(HTTPType object) Returns the result of interpreting the object as an instance of 'HTTP Type'.Returns the result of interpreting the object as an instance of 'Identification Type'.caseKeywordsType
(KeywordsType object) Returns the result of interpreting the object as an instance of 'Keywords Type'.Returns the result of interpreting the object as an instance of 'Language String Type'.caseLanguagesType
(LanguagesType object) Returns the result of interpreting the object as an instance of 'Languages Type'.caseManifestType
(ManifestType object) Returns the result of interpreting the object as an instance of 'Manifest Type'.caseMetadataType
(MetadataType object) Returns the result of interpreting the object as an instance of 'Metadata Type'.caseNilValueType
(NilValueType object) Returns the result of interpreting the object as an instance of 'Nil Value Type'.caseNoValuesType
(NoValuesType object) Returns the result of interpreting the object as an instance of 'No Values Type'.Returns the result of interpreting the object as an instance of 'Online Resource Type'.Returns the result of interpreting the object as an instance of 'Operations Metadata Type'.caseOperationType
(OperationType object) Returns the result of interpreting the object as an instance of 'Operation Type'.caseRangeType
(RangeType object) Returns the result of interpreting the object as an instance of 'Range Type'.Returns the result of interpreting the object as an instance of 'Reference Group Type'.caseReferenceType
(ReferenceType object) Returns the result of interpreting the object as an instance of 'Reference Type'.Returns the result of interpreting the object as an instance of 'Request Method Type'.Returns the result of interpreting the object as an instance of 'Responsible Party Subset Type'.Returns the result of interpreting the object as an instance of 'Responsible Party Type'.caseSectionsType
(SectionsType object) Returns the result of interpreting the object as an instance of 'Sections Type'.Returns the result of interpreting the object as an instance of 'Service Identification Type'.Returns the result of interpreting the object as an instance of 'Service Provider Type'.Returns the result of interpreting the object as an instance of 'Service Reference Type'.caseTelephoneType
(TelephoneType object) Returns the result of interpreting the object as an instance of 'Telephone Type'.Returns the result of interpreting the object as an instance of 'Un Named Domain Type'.Returns the result of interpreting the object as an instance of 'Values Reference Type'.caseValueType
(ValueType object) Returns the result of interpreting the object as an instance of 'Value Type'.Returns the result of interpreting the object as an instance of 'WGS84 Bounding Box Type'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch
(int classifierID, EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(EPackage ePackage) Checks whether this is a switch for the given package.Methods inherited from class Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
Ows20Switch
public Ows20Switch()Creates an instance of the switch.
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(EPackage ePackage) Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classSwitch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call.
-
caseAbstractReferenceBaseType
Returns the result of interpreting the object as an instance of 'Abstract Reference Base Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract Reference Base Type'.
- See Also:
-
doSwitch(EObject)
-
caseAcceptFormatsType
Returns the result of interpreting the object as an instance of 'Accept Formats Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Accept Formats Type'.
- See Also:
-
doSwitch(EObject)
-
caseAcceptLanguagesType
Returns the result of interpreting the object as an instance of 'Accept Languages Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Accept Languages Type'.
- See Also:
-
doSwitch(EObject)
-
caseAcceptVersionsType
Returns the result of interpreting the object as an instance of 'Accept Versions Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Accept Versions Type'.
- See Also:
-
doSwitch(EObject)
-
caseAdditionalParametersBaseType
Returns the result of interpreting the object as an instance of 'Additional Parameters Base Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Additional Parameters Base Type'.
- See Also:
-
doSwitch(EObject)
-
caseAdditionalParametersType
Returns the result of interpreting the object as an instance of 'Additional Parameters Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Additional Parameters Type'.
- See Also:
-
doSwitch(EObject)
-
caseAdditionalParameterType
Returns the result of interpreting the object as an instance of 'Additional Parameter Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Additional Parameter Type'.
- See Also:
-
doSwitch(EObject)
-
caseAddressType
Returns the result of interpreting the object as an instance of 'Address Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Address Type'.
- See Also:
-
doSwitch(EObject)
-
caseAllowedValuesType
Returns the result of interpreting the object as an instance of 'Allowed Values Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Allowed Values Type'.
- See Also:
-
doSwitch(EObject)
-
caseAnyValueType
Returns the result of interpreting the object as an instance of 'Any Value Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Any Value Type'.
- See Also:
-
doSwitch(EObject)
-
caseBasicIdentificationType
Returns the result of interpreting the object as an instance of 'Basic Identification Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Basic Identification Type'.
- See Also:
-
doSwitch(EObject)
-
caseBoundingBoxType
Returns the result of interpreting the object as an instance of 'Bounding Box Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Bounding Box Type'.
- See Also:
-
doSwitch(EObject)
-
caseCapabilitiesBaseType
Returns the result of interpreting the object as an instance of 'Capabilities Base Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Capabilities Base Type'.
- See Also:
-
doSwitch(EObject)
-
caseCodeType
Returns the result of interpreting the object as an instance of 'Code Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Code Type'.
- See Also:
-
doSwitch(EObject)
-
caseContactType
Returns the result of interpreting the object as an instance of 'Contact Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Contact Type'.
- See Also:
-
doSwitch(EObject)
-
caseContentsBaseType
Returns the result of interpreting the object as an instance of 'Contents Base Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Contents Base Type'.
- See Also:
-
doSwitch(EObject)
-
caseDatasetDescriptionSummaryBaseType
Returns the result of interpreting the object as an instance of 'Dataset Description Summary Base Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Dataset Description Summary Base Type'.
- See Also:
-
doSwitch(EObject)
-
caseDCPType
Returns the result of interpreting the object as an instance of 'DCP Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'DCP Type'.
- See Also:
-
doSwitch(EObject)
-
caseDescriptionType
Returns the result of interpreting the object as an instance of 'Description Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Description Type'.
- See Also:
-
doSwitch(EObject)
-
caseDocumentRoot
Returns the result of interpreting the object as an instance of 'Document Root'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Document Root'.
- See Also:
-
doSwitch(EObject)
-
caseDomainMetadataType
Returns the result of interpreting the object as an instance of 'Domain Metadata Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Domain Metadata Type'.
- See Also:
-
doSwitch(EObject)
-
caseDomainType
Returns the result of interpreting the object as an instance of 'Domain Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Domain Type'.
- See Also:
-
doSwitch(EObject)
-
caseExceptionReportType
Returns the result of interpreting the object as an instance of 'Exception Report Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Exception Report Type'.
- See Also:
-
doSwitch(EObject)
-
caseExceptionType
Returns the result of interpreting the object as an instance of 'Exception Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Exception Type'.
- See Also:
-
doSwitch(EObject)
-
caseGetCapabilitiesType
Returns the result of interpreting the object as an instance of 'Get Capabilities Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Get Capabilities Type'.
- See Also:
-
doSwitch(EObject)
-
caseGetResourceByIdType
Returns the result of interpreting the object as an instance of 'Get Resource By Id Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Get Resource By Id Type'.
- See Also:
-
doSwitch(EObject)
-
caseHTTPType
Returns the result of interpreting the object as an instance of 'HTTP Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'HTTP Type'.
- See Also:
-
doSwitch(EObject)
-
caseIdentificationType
Returns the result of interpreting the object as an instance of 'Identification Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identification Type'.
- See Also:
-
doSwitch(EObject)
-
caseKeywordsType
Returns the result of interpreting the object as an instance of 'Keywords Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Keywords Type'.
- See Also:
-
doSwitch(EObject)
-
caseLanguageStringType
Returns the result of interpreting the object as an instance of 'Language String Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Language String Type'.
- See Also:
-
doSwitch(EObject)
-
caseLanguagesType
Returns the result of interpreting the object as an instance of 'Languages Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Languages Type'.
- See Also:
-
doSwitch(EObject)
-
caseManifestType
Returns the result of interpreting the object as an instance of 'Manifest Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Manifest Type'.
- See Also:
-
doSwitch(EObject)
-
caseMetadataType
Returns the result of interpreting the object as an instance of 'Metadata Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Metadata Type'.
- See Also:
-
doSwitch(EObject)
-
caseNilValueType
Returns the result of interpreting the object as an instance of 'Nil Value Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Nil Value Type'.
- See Also:
-
doSwitch(EObject)
-
caseNoValuesType
Returns the result of interpreting the object as an instance of 'No Values Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'No Values Type'.
- See Also:
-
doSwitch(EObject)
-
caseOnlineResourceType
Returns the result of interpreting the object as an instance of 'Online Resource Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Online Resource Type'.
- See Also:
-
doSwitch(EObject)
-
caseOperationsMetadataType
Returns the result of interpreting the object as an instance of 'Operations Metadata Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Operations Metadata Type'.
- See Also:
-
doSwitch(EObject)
-
caseOperationType
Returns the result of interpreting the object as an instance of 'Operation Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Operation Type'.
- See Also:
-
doSwitch(EObject)
-
caseRangeType
Returns the result of interpreting the object as an instance of 'Range Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Range Type'.
- See Also:
-
doSwitch(EObject)
-
caseReferenceGroupType
Returns the result of interpreting the object as an instance of 'Reference Group Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reference Group Type'.
- See Also:
-
doSwitch(EObject)
-
caseReferenceType
Returns the result of interpreting the object as an instance of 'Reference Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Reference Type'.
- See Also:
-
doSwitch(EObject)
-
caseRequestMethodType
Returns the result of interpreting the object as an instance of 'Request Method Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Request Method Type'.
- See Also:
-
doSwitch(EObject)
-
caseResponsiblePartySubsetType
Returns the result of interpreting the object as an instance of 'Responsible Party Subset Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Responsible Party Subset Type'.
- See Also:
-
doSwitch(EObject)
-
caseResponsiblePartyType
Returns the result of interpreting the object as an instance of 'Responsible Party Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Responsible Party Type'.
- See Also:
-
doSwitch(EObject)
-
caseSectionsType
Returns the result of interpreting the object as an instance of 'Sections Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Sections Type'.
- See Also:
-
doSwitch(EObject)
-
caseServiceIdentificationType
Returns the result of interpreting the object as an instance of 'Service Identification Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Service Identification Type'.
- See Also:
-
doSwitch(EObject)
-
caseServiceProviderType
Returns the result of interpreting the object as an instance of 'Service Provider Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Service Provider Type'.
- See Also:
-
doSwitch(EObject)
-
caseServiceReferenceType
Returns the result of interpreting the object as an instance of 'Service Reference Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Service Reference Type'.
- See Also:
-
doSwitch(EObject)
-
caseTelephoneType
Returns the result of interpreting the object as an instance of 'Telephone Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Telephone Type'.
- See Also:
-
doSwitch(EObject)
-
caseUnNamedDomainType
Returns the result of interpreting the object as an instance of 'Un Named Domain Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Un Named Domain Type'.
- See Also:
-
doSwitch(EObject)
-
caseValuesReferenceType
Returns the result of interpreting the object as an instance of 'Values Reference Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Values Reference Type'.
- See Also:
-
doSwitch(EObject)
-
caseValueType
Returns the result of interpreting the object as an instance of 'Value Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Value Type'.
- See Also:
-
doSwitch(EObject)
-
caseWGS84BoundingBoxType
Returns the result of interpreting the object as an instance of 'WGS84 Bounding Box Type'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'WGS84 Bounding Box Type'.
- See Also:
-
doSwitch(EObject)
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classSwitch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
-
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
-