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 GmlPackageThe cached model package.protected GmlSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdapterCreates a new adapter for an object of class 'Abstract Geometric Primitive Type'.AdapterCreates a new adapter for an object of class 'Abstract Geometry Base Type'.AdapterCreates a new adapter for an object of class 'Abstract Geometry Type'.AdapterCreates a new adapter for an object of class 'Abstract GML Type'.AdapterCreates a new adapter for an object of class 'Abstract Meta Data Type'.AdapterCreates a new adapter for an object of class 'Abstract Ring Property Type'.AdapterCreates a new adapter for an object of class 'Abstract Ring Type'.AdapterCreates a new adapter for an object of class 'Abstract Surface Type'.AdaptercreateAdapter(Notifier target) Creates an adapter for thetarget.AdapterCreates a new adapter for an object of class 'Bounding Shape Type'.AdapterCreates a new adapter for an object of class 'Code List Type'.AdapterCreates a new adapter for an object of class 'Code Type'.AdapterCreates a new adapter for an object of class 'Direct Position Type'.AdapterCreates a new adapter for an object of class 'Document Root'.AdapterCreates a new adapter for an object of class 'Envelope Type'.AdapterCreates a new adapter for an object of class 'Envelope With Time Period Type'.AdapterCreates a new adapter for the default case.AdapterCreates a new adapter for an object of class 'Grid Envelope Type'.AdapterCreates a new adapter for an object of class 'Grid Limits Type'.AdapterCreates a new adapter for an object of class 'Grid Type'.AdapterCreates a new adapter for an object of class 'Linear Ring Type'.AdapterCreates a new adapter for an object of class 'Meta Data Property Type'.AdapterCreates a new adapter for an object of class 'Point Type'.AdapterCreates a new adapter for an object of class 'Polygon Type'.AdapterCreates a new adapter for an object of class 'Rectified Grid Type'.AdapterCreates a new adapter for an object of class 'Reference Type'.AdapterCreates a new adapter for an object of class 'String Or Ref Type'.AdapterCreates a new adapter for an object of class 'Time Position Type'.AdapterCreates a new adapter for an object of class 'Vector Type'.booleanisFactoryForType(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 thecreateXXXmethods.
-
-
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 returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein 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:
createAdapterin 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.
-