Package net.opengis.gml.util
Class GmlAdapterFactory
Object
AdapterFactoryImpl
GmlAdapterFactory
- All Implemented Interfaces:
AdapterFactory
public class GmlAdapterFactory
extends AdapterFactoryImpl
The Adapter Factory for the model.
It provides an adapter
createXXX
method for each class of the model.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static GmlPackage
The cached model package.protected GmlSwitch
The switch that delegates to thecreateXXX
methods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdapter
Creates a new adapter for an object of class 'Abstract Geometric Primitive Type
'.Adapter
Creates a new adapter for an object of class 'Abstract Geometry Base Type
'.Adapter
Creates a new adapter for an object of class 'Abstract Geometry Type
'.Adapter
Creates a new adapter for an object of class 'Abstract GML Type
'.Adapter
Creates a new adapter for an object of class 'Abstract Meta Data Type
'.Adapter
Creates a new adapter for an object of class 'Abstract Ring Property Type
'.Adapter
Creates a new adapter for an object of class 'Abstract Ring Type
'.Adapter
Creates a new adapter for an object of class 'Abstract Surface Type
'.Adapter
createAdapter
(Notifier target) Creates an adapter for thetarget
.Adapter
Creates a new adapter for an object of class 'Bounding Shape Type
'.Adapter
Creates a new adapter for an object of class 'Code List Type
'.Adapter
Creates a new adapter for an object of class 'Code Type
'.Adapter
Creates a new adapter for an object of class 'Direct Position Type
'.Adapter
Creates a new adapter for an object of class 'Document Root
'.Adapter
Creates a new adapter for an object of class 'Envelope Type
'.Adapter
Creates a new adapter for an object of class 'Envelope With Time Period Type
'.Adapter
Creates a new adapter for the default case.Adapter
Creates a new adapter for an object of class 'Grid Envelope Type
'.Adapter
Creates a new adapter for an object of class 'Grid Limits Type
'.Adapter
Creates a new adapter for an object of class 'Grid Type
'.Adapter
Creates a new adapter for an object of class 'Linear Ring Type
'.Adapter
Creates a new adapter for an object of class 'Meta Data Property Type
'.Adapter
Creates a new adapter for an object of class 'Point Type
'.Adapter
Creates a new adapter for an object of class 'Polygon Type
'.Adapter
Creates a new adapter for an object of class 'Rectified Grid Type
'.Adapter
Creates a new adapter for an object of class 'Reference Type
'.Adapter
Creates a new adapter for an object of class 'String Or Ref Type
'.Adapter
Creates a new adapter for an object of class 'Time Position Type
'.Adapter
Creates a new adapter for an object of class 'Vector Type
'.boolean
isFactoryForType
(Object object) Returns whether this factory is applicable for the type of the object.Methods inherited from class AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
Field Details
-
modelPackage
The cached model package. -
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
-
Constructor Details
-
GmlAdapterFactory
public GmlAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in classAdapterFactoryImpl
- Returns:
- whether this factory is applicable for the type of the object.
-
createAdapter
public Adapter createAdapter(Notifier target) Creates an adapter for thetarget
.- Overrides:
createAdapter
in classAdapterFactoryImpl
- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
.
-
createAbstractGeometricPrimitiveTypeAdapter
public Adapter createAbstractGeometricPrimitiveTypeAdapter()Creates a new adapter for an object of class 'Abstract Geometric Primitive Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractGeometryBaseTypeAdapter
public Adapter createAbstractGeometryBaseTypeAdapter()Creates a new adapter for an object of class 'Abstract Geometry Base Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractGeometryTypeAdapter
public Adapter createAbstractGeometryTypeAdapter()Creates a new adapter for an object of class 'Abstract Geometry Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractGMLTypeAdapter
public Adapter createAbstractGMLTypeAdapter()Creates a new adapter for an object of class 'Abstract GML Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractMetaDataTypeAdapter
public Adapter createAbstractMetaDataTypeAdapter()Creates a new adapter for an object of class 'Abstract Meta Data Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractRingPropertyTypeAdapter
public Adapter createAbstractRingPropertyTypeAdapter()Creates a new adapter for an object of class 'Abstract Ring Property Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractRingTypeAdapter
public Adapter createAbstractRingTypeAdapter()Creates a new adapter for an object of class 'Abstract Ring Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createAbstractSurfaceTypeAdapter
public Adapter createAbstractSurfaceTypeAdapter()Creates a new adapter for an object of class 'Abstract Surface Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createBoundingShapeTypeAdapter
public Adapter createBoundingShapeTypeAdapter()Creates a new adapter for an object of class 'Bounding Shape Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createCodeListTypeAdapter
public Adapter createCodeListTypeAdapter()Creates a new adapter for an object of class 'Code List Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createCodeTypeAdapter
public Adapter createCodeTypeAdapter()Creates a new adapter for an object of class 'Code Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createDirectPositionTypeAdapter
public Adapter createDirectPositionTypeAdapter()Creates a new adapter for an object of class 'Direct Position Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createDocumentRootAdapter
public Adapter createDocumentRootAdapter()Creates a new adapter for an object of class 'Document Root
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createEnvelopeTypeAdapter
public Adapter createEnvelopeTypeAdapter()Creates a new adapter for an object of class 'Envelope Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createEnvelopeWithTimePeriodTypeAdapter
public Adapter createEnvelopeWithTimePeriodTypeAdapter()Creates a new adapter for an object of class 'Envelope With Time Period Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createGridEnvelopeTypeAdapter
public Adapter createGridEnvelopeTypeAdapter()Creates a new adapter for an object of class 'Grid Envelope Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createGridLimitsTypeAdapter
public Adapter createGridLimitsTypeAdapter()Creates a new adapter for an object of class 'Grid Limits Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createGridTypeAdapter
public Adapter createGridTypeAdapter()Creates a new adapter for an object of class 'Grid Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createLinearRingTypeAdapter
public Adapter createLinearRingTypeAdapter()Creates a new adapter for an object of class 'Linear Ring Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createMetaDataPropertyTypeAdapter
public Adapter createMetaDataPropertyTypeAdapter()Creates a new adapter for an object of class 'Meta Data Property Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createPointTypeAdapter
public Adapter createPointTypeAdapter()Creates a new adapter for an object of class 'Point Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createPolygonTypeAdapter
public Adapter createPolygonTypeAdapter()Creates a new adapter for an object of class 'Polygon Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createRectifiedGridTypeAdapter
public Adapter createRectifiedGridTypeAdapter()Creates a new adapter for an object of class 'Rectified Grid Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createReferenceTypeAdapter
public Adapter createReferenceTypeAdapter()Creates a new adapter for an object of class 'Reference Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createStringOrRefTypeAdapter
public Adapter createStringOrRefTypeAdapter()Creates a new adapter for an object of class 'String Or Ref Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createTimePositionTypeAdapter
public Adapter createTimePositionTypeAdapter()Creates a new adapter for an object of class 'Time Position Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createVectorTypeAdapter
public Adapter createVectorTypeAdapter()Creates a new adapter for an object of class 'Vector Type
'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.- Returns:
- the new adapter.
- See Also:
-
createEObjectAdapter
public Adapter createEObjectAdapter()Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-