Package net.opengis.wmts.v_1.util
Class wmtsv_1Switch<T>
- Object
-
- Switch<T>
-
- wmtsv_1Switch<T>
-
public class wmtsv_1Switch<T> extends Switch<T>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
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:
wmtsv_1Package
-
-
Field Summary
Fields Modifier and Type Field Description protected static wmtsv_1Package
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description wmtsv_1Switch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseBinaryPayloadType(BinaryPayloadType object)
Returns the result of interpreting the object as an instance of 'Binary Payload Type'.T
caseCapabilitiesBaseType(CapabilitiesBaseType object)
Returns the result of interpreting the object as an instance of 'Capabilities Base Type'.T
caseCapabilitiesType(CapabilitiesType object)
Returns the result of interpreting the object as an instance of 'Capabilities Type'.T
caseContentsBaseType(ContentsBaseType object)
Returns the result of interpreting the object as an instance of 'Contents Base Type'.T
caseContentsType(ContentsType object)
Returns the result of interpreting the object as an instance of 'Contents Type'.T
caseDatasetDescriptionSummaryBaseType(DatasetDescriptionSummaryBaseType object)
Returns the result of interpreting the object as an instance of 'Dataset Description Summary Base Type'.T
caseDescriptionType(DescriptionType object)
Returns the result of interpreting the object as an instance of 'Description Type'.T
caseDimensionNameValueType(DimensionNameValueType object)
Returns the result of interpreting the object as an instance of 'Dimension Name Value Type'.T
caseDimensionType(DimensionType object)
Returns the result of interpreting the object as an instance of 'Dimension Type'.T
caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of 'Document Root'.T
caseFeatureInfoResponseType(FeatureInfoResponseType object)
Returns the result of interpreting the object as an instance of 'Feature Info Response Type'.T
caseGetCapabilitiesType(GetCapabilitiesType object)
Returns the result of interpreting the object as an instance of 'Get Capabilities Type'.T
caseGetFeatureInfoType(GetFeatureInfoType object)
Returns the result of interpreting the object as an instance of 'Get Feature Info Type'.T
caseGetTileType(GetTileType object)
Returns the result of interpreting the object as an instance of 'Get Tile Type'.T
caseLayerType(LayerType object)
Returns the result of interpreting the object as an instance of 'Layer Type'.T
caseLegendURLType(LegendURLType object)
Returns the result of interpreting the object as an instance of 'Legend URL Type'.T
caseOnlineResourceType(OnlineResourceType object)
Returns the result of interpreting the object as an instance of 'Online Resource Type'.T
caseOws11_GetCapabilitiesType(GetCapabilitiesType object)
Returns the result of interpreting the object as an instance of 'Get Capabilities Type'.T
caseStyleType(StyleType object)
Returns the result of interpreting the object as an instance of 'Style Type'.T
caseTextPayloadType(TextPayloadType object)
Returns the result of interpreting the object as an instance of 'Text Payload Type'.T
caseThemesType(ThemesType object)
Returns the result of interpreting the object as an instance of 'Themes Type'.T
caseThemeType(ThemeType object)
Returns the result of interpreting the object as an instance of 'Theme Type'.T
caseTileMatrixLimitsType(TileMatrixLimitsType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Limits Type'.T
caseTileMatrixSetLimitsType(TileMatrixSetLimitsType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Set Limits Type'.T
caseTileMatrixSetLinkType(TileMatrixSetLinkType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Set Link Type'.T
caseTileMatrixSetType(TileMatrixSetType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Set Type'.T
caseTileMatrixType(TileMatrixType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Type'.T
caseURLTemplateType(URLTemplateType object)
Returns the result of interpreting the object as an instance of 'URL Template Type'.T
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.
-
-
-
Field Detail
-
modelPackage
protected static wmtsv_1Package modelPackage
The cached model package
-
-
Method Detail
-
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
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.- Overrides:
doSwitch
in classSwitch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call.
-
caseBinaryPayloadType
public T caseBinaryPayloadType(BinaryPayloadType object)
Returns the result of interpreting the object as an instance of 'Binary Payload 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 'Binary Payload Type'.
- See Also:
doSwitch(EObject)
-
caseCapabilitiesType
public T caseCapabilitiesType(CapabilitiesType object)
Returns the result of interpreting the object as an instance of '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 'Capabilities Type'.
- See Also:
doSwitch(EObject)
-
caseContentsType
public T caseContentsType(ContentsType object)
Returns the result of interpreting the object as an instance of 'Contents 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 Type'.
- See Also:
doSwitch(EObject)
-
caseDimensionNameValueType
public T caseDimensionNameValueType(DimensionNameValueType object)
Returns the result of interpreting the object as an instance of 'Dimension Name 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 'Dimension Name Value Type'.
- See Also:
doSwitch(EObject)
-
caseDimensionType
public T caseDimensionType(DimensionType object)
Returns the result of interpreting the object as an instance of 'Dimension 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 'Dimension Type'.
- See Also:
doSwitch(EObject)
-
caseDocumentRoot
public T caseDocumentRoot(DocumentRoot object)
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)
-
caseFeatureInfoResponseType
public T caseFeatureInfoResponseType(FeatureInfoResponseType object)
Returns the result of interpreting the object as an instance of 'Feature Info Response 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 'Feature Info Response Type'.
- See Also:
doSwitch(EObject)
-
caseGetCapabilitiesType
public T caseGetCapabilitiesType(GetCapabilitiesType object)
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)
-
caseGetFeatureInfoType
public T caseGetFeatureInfoType(GetFeatureInfoType object)
Returns the result of interpreting the object as an instance of 'Get Feature Info 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 Feature Info Type'.
- See Also:
doSwitch(EObject)
-
caseGetTileType
public T caseGetTileType(GetTileType object)
Returns the result of interpreting the object as an instance of 'Get Tile 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 Tile Type'.
- See Also:
doSwitch(EObject)
-
caseLayerType
public T caseLayerType(LayerType object)
Returns the result of interpreting the object as an instance of 'Layer 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 'Layer Type'.
- See Also:
doSwitch(EObject)
-
caseLegendURLType
public T caseLegendURLType(LegendURLType object)
Returns the result of interpreting the object as an instance of 'Legend URL 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 'Legend URL Type'.
- See Also:
doSwitch(EObject)
-
caseStyleType
public T caseStyleType(StyleType object)
Returns the result of interpreting the object as an instance of 'Style 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 'Style Type'.
- See Also:
doSwitch(EObject)
-
caseTextPayloadType
public T caseTextPayloadType(TextPayloadType object)
Returns the result of interpreting the object as an instance of 'Text Payload 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 'Text Payload Type'.
- See Also:
doSwitch(EObject)
-
caseThemesType
public T caseThemesType(ThemesType object)
Returns the result of interpreting the object as an instance of 'Themes 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 'Themes Type'.
- See Also:
doSwitch(EObject)
-
caseThemeType
public T caseThemeType(ThemeType object)
Returns the result of interpreting the object as an instance of 'Theme 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 'Theme Type'.
- See Also:
doSwitch(EObject)
-
caseTileMatrixLimitsType
public T caseTileMatrixLimitsType(TileMatrixLimitsType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Limits 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 'Tile Matrix Limits Type'.
- See Also:
doSwitch(EObject)
-
caseTileMatrixSetLimitsType
public T caseTileMatrixSetLimitsType(TileMatrixSetLimitsType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Set Limits 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 'Tile Matrix Set Limits Type'.
- See Also:
doSwitch(EObject)
-
caseTileMatrixSetLinkType
public T caseTileMatrixSetLinkType(TileMatrixSetLinkType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Set Link 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 'Tile Matrix Set Link Type'.
- See Also:
doSwitch(EObject)
-
caseTileMatrixSetType
public T caseTileMatrixSetType(TileMatrixSetType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix Set 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 'Tile Matrix Set Type'.
- See Also:
doSwitch(EObject)
-
caseTileMatrixType
public T caseTileMatrixType(TileMatrixType object)
Returns the result of interpreting the object as an instance of 'Tile Matrix 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 'Tile Matrix Type'.
- See Also:
doSwitch(EObject)
-
caseURLTemplateType
public T caseURLTemplateType(URLTemplateType object)
Returns the result of interpreting the object as an instance of 'URL Template 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 'URL Template Type'.
- See Also:
doSwitch(EObject)
-
caseCapabilitiesBaseType
public T caseCapabilitiesBaseType(CapabilitiesBaseType object)
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)
-
caseContentsBaseType
public T caseContentsBaseType(ContentsBaseType object)
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)
-
caseDescriptionType
public T caseDescriptionType(DescriptionType object)
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)
-
caseOws11_GetCapabilitiesType
public T caseOws11_GetCapabilitiesType(GetCapabilitiesType object)
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)
-
caseDatasetDescriptionSummaryBaseType
public T caseDatasetDescriptionSummaryBaseType(DatasetDescriptionSummaryBaseType object)
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)
-
caseOnlineResourceType
public T caseOnlineResourceType(OnlineResourceType object)
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)
-
defaultCase
public T defaultCase(EObject object)
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)
-
-