/**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.gml.util;
import net.opengis.gml.*;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
* @see net.opengis.gml.GmlPackage
* @generated
*/
public class GmlAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static GmlPackage modelPackage;
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public GmlAdapterFactory() {
if (modelPackage == null) {
modelPackage = GmlPackage.eINSTANCE;
}
}
/**
* Returns whether this factory is applicable for the type of the object.
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
* @return whether this factory is applicable for the type of the object.
* @generated
*/
public boolean isFactoryForType(Object object) {
if (object == modelPackage) {
return true;
}
if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
/**
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected GmlSwitch modelSwitch =
new GmlSwitch() {
public Object caseAbstractGeometricPrimitiveType(AbstractGeometricPrimitiveType object) {
return createAbstractGeometricPrimitiveTypeAdapter();
}
public Object caseAbstractGeometryBaseType(AbstractGeometryBaseType object) {
return createAbstractGeometryBaseTypeAdapter();
}
public Object caseAbstractGeometryType(AbstractGeometryType object) {
return createAbstractGeometryTypeAdapter();
}
public Object caseAbstractGMLType(AbstractGMLType object) {
return createAbstractGMLTypeAdapter();
}
public Object caseAbstractMetaDataType(AbstractMetaDataType object) {
return createAbstractMetaDataTypeAdapter();
}
public Object caseAbstractRingPropertyType(AbstractRingPropertyType object) {
return createAbstractRingPropertyTypeAdapter();
}
public Object caseAbstractRingType(AbstractRingType object) {
return createAbstractRingTypeAdapter();
}
public Object caseAbstractSurfaceType(AbstractSurfaceType object) {
return createAbstractSurfaceTypeAdapter();
}
public Object caseBoundingShapeType(BoundingShapeType object) {
return createBoundingShapeTypeAdapter();
}
public Object caseCodeListType(CodeListType object) {
return createCodeListTypeAdapter();
}
public Object caseCodeType(CodeType object) {
return createCodeTypeAdapter();
}
public Object caseDirectPositionType(DirectPositionType object) {
return createDirectPositionTypeAdapter();
}
public Object caseDocumentRoot(DocumentRoot object) {
return createDocumentRootAdapter();
}
public Object caseEnvelopeType(EnvelopeType object) {
return createEnvelopeTypeAdapter();
}
public Object caseEnvelopeWithTimePeriodType(EnvelopeWithTimePeriodType object) {
return createEnvelopeWithTimePeriodTypeAdapter();
}
public Object caseGridEnvelopeType(GridEnvelopeType object) {
return createGridEnvelopeTypeAdapter();
}
public Object caseGridLimitsType(GridLimitsType object) {
return createGridLimitsTypeAdapter();
}
public Object caseGridType(GridType object) {
return createGridTypeAdapter();
}
public Object caseLinearRingType(LinearRingType object) {
return createLinearRingTypeAdapter();
}
public Object caseMetaDataPropertyType(MetaDataPropertyType object) {
return createMetaDataPropertyTypeAdapter();
}
public Object casePointType(PointType object) {
return createPointTypeAdapter();
}
public Object casePolygonType(PolygonType object) {
return createPolygonTypeAdapter();
}
public Object caseRectifiedGridType(RectifiedGridType object) {
return createRectifiedGridTypeAdapter();
}
public Object caseReferenceType(ReferenceType object) {
return createReferenceTypeAdapter();
}
public Object caseStringOrRefType(StringOrRefType object) {
return createStringOrRefTypeAdapter();
}
public Object caseTimePositionType(TimePositionType object) {
return createTimePositionTypeAdapter();
}
public Object caseVectorType(VectorType object) {
return createVectorTypeAdapter();
}
public Object defaultCase(EObject object) {
return createEObjectAdapter();
}
};
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
public Adapter createAdapter(Notifier target) {
return (Adapter)modelSwitch.doSwitch((EObject)target);
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractGeometricPrimitiveType <em>Abstract Geometric Primitive Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractGeometricPrimitiveType
* @generated
*/
public Adapter createAbstractGeometricPrimitiveTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractGeometryBaseType <em>Abstract Geometry Base Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractGeometryBaseType
* @generated
*/
public Adapter createAbstractGeometryBaseTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractGeometryType <em>Abstract Geometry Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractGeometryType
* @generated
*/
public Adapter createAbstractGeometryTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractGMLType <em>Abstract GML Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractGMLType
* @generated
*/
public Adapter createAbstractGMLTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractMetaDataType <em>Abstract Meta Data Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractMetaDataType
* @generated
*/
public Adapter createAbstractMetaDataTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractRingPropertyType <em>Abstract Ring Property Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractRingPropertyType
* @generated
*/
public Adapter createAbstractRingPropertyTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractRingType <em>Abstract Ring Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractRingType
* @generated
*/
public Adapter createAbstractRingTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.AbstractSurfaceType <em>Abstract Surface Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.AbstractSurfaceType
* @generated
*/
public Adapter createAbstractSurfaceTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.BoundingShapeType <em>Bounding Shape Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.BoundingShapeType
* @generated
*/
public Adapter createBoundingShapeTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.CodeListType <em>Code List Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.CodeListType
* @generated
*/
public Adapter createCodeListTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.CodeType <em>Code Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.CodeType
* @generated
*/
public Adapter createCodeTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.DirectPositionType <em>Direct Position Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.DirectPositionType
* @generated
*/
public Adapter createDirectPositionTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.DocumentRoot <em>Document Root</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.DocumentRoot
* @generated
*/
public Adapter createDocumentRootAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.EnvelopeType <em>Envelope Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.EnvelopeType
* @generated
*/
public Adapter createEnvelopeTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.EnvelopeWithTimePeriodType <em>Envelope With Time Period Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.EnvelopeWithTimePeriodType
* @generated
*/
public Adapter createEnvelopeWithTimePeriodTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.GridEnvelopeType <em>Grid Envelope Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.GridEnvelopeType
* @generated
*/
public Adapter createGridEnvelopeTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.GridLimitsType <em>Grid Limits Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.GridLimitsType
* @generated
*/
public Adapter createGridLimitsTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.GridType <em>Grid Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.GridType
* @generated
*/
public Adapter createGridTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.LinearRingType <em>Linear Ring Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.LinearRingType
* @generated
*/
public Adapter createLinearRingTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.MetaDataPropertyType <em>Meta Data Property Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.MetaDataPropertyType
* @generated
*/
public Adapter createMetaDataPropertyTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.PointType <em>Point Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.PointType
* @generated
*/
public Adapter createPointTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.PolygonType <em>Polygon Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.PolygonType
* @generated
*/
public Adapter createPolygonTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.RectifiedGridType <em>Rectified Grid Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.RectifiedGridType
* @generated
*/
public Adapter createRectifiedGridTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.ReferenceType <em>Reference Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.ReferenceType
* @generated
*/
public Adapter createReferenceTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.StringOrRefType <em>String Or Ref Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.StringOrRefType
* @generated
*/
public Adapter createStringOrRefTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.TimePositionType <em>Time Position Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.TimePositionType
* @generated
*/
public Adapter createTimePositionTypeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.opengis.gml.VectorType <em>Vector Type</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see net.opengis.gml.VectorType
* @generated
*/
public Adapter createVectorTypeAdapter() {
return null;
}
/**
* Creates a new adapter for the default case.
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
* @return the new adapter.
* @generated
*/
public Adapter createEObjectAdapter() {
return null;
}
} //GmlAdapterFactory