Class 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:
    GmlPackage
    • Field Detail

      • modelPackage

        protected static GmlPackage modelPackage
        The cached model package.
      • modelSwitch

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

      • GmlAdapterFactory

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

      • 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:
        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.