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 adaptercreateXXX
method for each class of the model.- See Also:
GmlPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static GmlPackage
modelPackage
The cached model package.protected GmlSwitch
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description GmlAdapterFactory()
Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Adapter
createAbstractGeometricPrimitiveTypeAdapter()
Creates a new adapter for an object of class 'Abstract Geometric Primitive Type
'.Adapter
createAbstractGeometryBaseTypeAdapter()
Creates a new adapter for an object of class 'Abstract Geometry Base Type
'.Adapter
createAbstractGeometryTypeAdapter()
Creates a new adapter for an object of class 'Abstract Geometry Type
'.Adapter
createAbstractGMLTypeAdapter()
Creates a new adapter for an object of class 'Abstract GML Type
'.Adapter
createAbstractMetaDataTypeAdapter()
Creates a new adapter for an object of class 'Abstract Meta Data Type
'.Adapter
createAbstractRingPropertyTypeAdapter()
Creates a new adapter for an object of class 'Abstract Ring Property Type
'.Adapter
createAbstractRingTypeAdapter()
Creates a new adapter for an object of class 'Abstract Ring Type
'.Adapter
createAbstractSurfaceTypeAdapter()
Creates a new adapter for an object of class 'Abstract Surface Type
'.Adapter
createAdapter(Notifier target)
Creates an adapter for thetarget
.Adapter
createBoundingShapeTypeAdapter()
Creates a new adapter for an object of class 'Bounding Shape Type
'.Adapter
createCodeListTypeAdapter()
Creates a new adapter for an object of class 'Code List Type
'.Adapter
createCodeTypeAdapter()
Creates a new adapter for an object of class 'Code Type
'.Adapter
createDirectPositionTypeAdapter()
Creates a new adapter for an object of class 'Direct Position Type
'.Adapter
createDocumentRootAdapter()
Creates a new adapter for an object of class 'Document Root
'.Adapter
createEnvelopeTypeAdapter()
Creates a new adapter for an object of class 'Envelope Type
'.Adapter
createEnvelopeWithTimePeriodTypeAdapter()
Creates a new adapter for an object of class 'Envelope With Time Period Type
'.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.Adapter
createGridEnvelopeTypeAdapter()
Creates a new adapter for an object of class 'Grid Envelope Type
'.Adapter
createGridLimitsTypeAdapter()
Creates a new adapter for an object of class 'Grid Limits Type
'.Adapter
createGridTypeAdapter()
Creates a new adapter for an object of class 'Grid Type
'.Adapter
createLinearRingTypeAdapter()
Creates a new adapter for an object of class 'Linear Ring Type
'.Adapter
createMetaDataPropertyTypeAdapter()
Creates a new adapter for an object of class 'Meta Data Property Type
'.Adapter
createPointTypeAdapter()
Creates a new adapter for an object of class 'Point Type
'.Adapter
createPolygonTypeAdapter()
Creates a new adapter for an object of class 'Polygon Type
'.Adapter
createRectifiedGridTypeAdapter()
Creates a new adapter for an object of class 'Rectified Grid Type
'.Adapter
createReferenceTypeAdapter()
Creates a new adapter for an object of class 'Reference Type
'.Adapter
createStringOrRefTypeAdapter()
Creates a new adapter for an object of class 'String Or Ref Type
'.Adapter
createTimePositionTypeAdapter()
Creates a new adapter for an object of class 'Time Position Type
'.Adapter
createVectorTypeAdapter()
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.
-
-
-
Field Detail
-
modelPackage
protected static GmlPackage modelPackage
The cached model package.
-
modelSwitch
protected GmlSwitch modelSwitch
The switch that delegates to thecreateXXX
methods.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
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:
AbstractGeometricPrimitiveType
-
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:
AbstractGeometryBaseType
-
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:
AbstractGeometryType
-
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:
AbstractGMLType
-
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:
AbstractMetaDataType
-
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:
AbstractRingPropertyType
-
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:
AbstractRingType
-
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:
AbstractSurfaceType
-
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:
BoundingShapeType
-
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:
CodeListType
-
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:
CodeType
-
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:
DirectPositionType
-
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:
DocumentRoot
-
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:
EnvelopeType
-
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:
EnvelopeWithTimePeriodType
-
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:
GridEnvelopeType
-
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:
GridLimitsType
-
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:
GridType
-
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:
LinearRingType
-
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:
MetaDataPropertyType
-
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:
PointType
-
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:
PolygonType
-
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:
RectifiedGridType
-
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:
ReferenceType
-
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:
StringOrRefType
-
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:
TimePositionType
-
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:
VectorType
-
createEObjectAdapter
public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
-
-