org.apache.uima.tools.cfe.config.util
Class ConfigAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.apache.uima.tools.cfe.config.util.ConfigAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class ConfigAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
ConfigPackage

Field Summary
protected static ConfigPackage modelPackage
          The cached model package.
protected  ConfigSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch the delegates to the createXXX methods.
 
Constructor Summary
ConfigAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target.
 org.eclipse.emf.common.notify.Adapter createBitsetFeatureValuesXMLAdapter()
          Creates a new adapter for an object of class 'Bitset Feature Values XML'.
 org.eclipse.emf.common.notify.Adapter createCFEDescriptorXMLAdapter()
          Creates a new adapter for an object of class 'CFE Descriptor XML'.
 org.eclipse.emf.common.notify.Adapter createDocumentRootAdapter()
          Creates a new adapter for an object of class 'Document Root'.
 org.eclipse.emf.common.notify.Adapter createEnumFeatureValuesXMLAdapter()
          Creates a new adapter for an object of class 'Enum Feature Values XML'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createFeatureObjectMatcherXMLAdapter()
          Creates a new adapter for an object of class 'Feature Object Matcher XML'.
 org.eclipse.emf.common.notify.Adapter createGroupFeatureMatcherXMLAdapter()
          Creates a new adapter for an object of class 'Group Feature Matcher XML'.
 org.eclipse.emf.common.notify.Adapter createObjectPathFeatureValuesXMLAdapter()
          Creates a new adapter for an object of class 'Object Path Feature Values XML'.
 org.eclipse.emf.common.notify.Adapter createPartialObjectMatcherXMLAdapter()
          Creates a new adapter for an object of class 'Partial Object Matcher XML'.
 org.eclipse.emf.common.notify.Adapter createPatternFeatureValuesXMLAdapter()
          Creates a new adapter for an object of class 'Pattern Feature Values XML'.
 org.eclipse.emf.common.notify.Adapter createRangeFeatureValuesXMLAdapter()
          Creates a new adapter for an object of class 'Range Feature Values XML'.
 org.eclipse.emf.common.notify.Adapter createSingleFeatureMatcherXMLAdapter()
          Creates a new adapter for an object of class 'Single Feature Matcher XML'.
 org.eclipse.emf.common.notify.Adapter createTargetAnnotationXMLAdapter()
          Creates a new adapter for an object of class 'Target Annotation XML'.
 boolean isFactoryForType(Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static ConfigPackage modelPackage
The cached model package.


modelSwitch

protected ConfigSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch the delegates to the createXXX methods.

Constructor Detail

ConfigAdapterFactory

public ConfigAdapterFactory()
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 org.eclipse.emf.common.notify.AdapterFactory
Overrides:
isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.

createAdapter

public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the target.

Overrides:
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createBitsetFeatureValuesXMLAdapter

public org.eclipse.emf.common.notify.Adapter createBitsetFeatureValuesXMLAdapter()
Creates a new adapter for an object of class 'Bitset Feature Values XML'. 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:
BitsetFeatureValuesXML

createCFEDescriptorXMLAdapter

public org.eclipse.emf.common.notify.Adapter createCFEDescriptorXMLAdapter()
Creates a new adapter for an object of class 'CFE Descriptor XML'. 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:
CFEDescriptorXML

createDocumentRootAdapter

public org.eclipse.emf.common.notify.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

createEnumFeatureValuesXMLAdapter

public org.eclipse.emf.common.notify.Adapter createEnumFeatureValuesXMLAdapter()
Creates a new adapter for an object of class 'Enum Feature Values XML'. 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:
EnumFeatureValuesXML

createFeatureObjectMatcherXMLAdapter

public org.eclipse.emf.common.notify.Adapter createFeatureObjectMatcherXMLAdapter()
Creates a new adapter for an object of class 'Feature Object Matcher XML'. 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:
FeatureObjectMatcherXML

createGroupFeatureMatcherXMLAdapter

public org.eclipse.emf.common.notify.Adapter createGroupFeatureMatcherXMLAdapter()
Creates a new adapter for an object of class 'Group Feature Matcher XML'. 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:
GroupFeatureMatcherXML

createObjectPathFeatureValuesXMLAdapter

public org.eclipse.emf.common.notify.Adapter createObjectPathFeatureValuesXMLAdapter()
Creates a new adapter for an object of class 'Object Path Feature Values XML'. 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:
ObjectPathFeatureValuesXML

createPartialObjectMatcherXMLAdapter

public org.eclipse.emf.common.notify.Adapter createPartialObjectMatcherXMLAdapter()
Creates a new adapter for an object of class 'Partial Object Matcher XML'. 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:
PartialObjectMatcherXML

createPatternFeatureValuesXMLAdapter

public org.eclipse.emf.common.notify.Adapter createPatternFeatureValuesXMLAdapter()
Creates a new adapter for an object of class 'Pattern Feature Values XML'. 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:
PatternFeatureValuesXML

createRangeFeatureValuesXMLAdapter

public org.eclipse.emf.common.notify.Adapter createRangeFeatureValuesXMLAdapter()
Creates a new adapter for an object of class 'Range Feature Values XML'. 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:
RangeFeatureValuesXML

createSingleFeatureMatcherXMLAdapter

public org.eclipse.emf.common.notify.Adapter createSingleFeatureMatcherXMLAdapter()
Creates a new adapter for an object of class 'Single Feature Matcher XML'. 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:
SingleFeatureMatcherXML

createTargetAnnotationXMLAdapter

public org.eclipse.emf.common.notify.Adapter createTargetAnnotationXMLAdapter()
Creates a new adapter for an object of class 'Target Annotation XML'. 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:
TargetAnnotationXML

createEObjectAdapter

public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.