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 Details

    • modelPackage

      protected static GmlPackage modelPackage
      The cached model package.
    • modelSwitch

      protected GmlSwitch modelSwitch
      The switch that delegates to the createXXX methods.
  • Constructor Details

    • GmlAdapterFactory

      public GmlAdapterFactory()
      Creates an instance of the adapter factory.
  • Method Details

    • isFactoryForType

      public boolean isFactoryForType(Object object)
      Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
      Specified by:
      isFactoryForType in interface AdapterFactory
      Overrides:
      isFactoryForType in class AdapterFactoryImpl
      Returns:
      whether this factory is applicable for the type of the object.
    • createAdapter

      public Adapter createAdapter(Notifier target)
      Creates an adapter for the target.
      Overrides:
      createAdapter in class AdapterFactoryImpl
      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.