com.inline.feature.common
Class AbstractFeatureModelConfigurator

java.lang.Object
  |
  +--com.inline.feature.common.AbstractFeatureModelConfigurator

public abstract class AbstractFeatureModelConfigurator
extends java.lang.Object
implements FeatureModelConfigurator

Convenient superclass for the FeatureModelConfigurators. It returns true in return to all requests.


Constructor Summary
AbstractFeatureModelConfigurator()
           
 
Method Summary
abstract  com.sun.java.util.collections.Set getSupportedFeatureTypes()
          Returns the set of feature types that it is interested in.
 boolean isDefaultFeatureConstructor(Feature parent, java.lang.String childType, FeatureConstructor constructor)
          The default implementation returns true.
 boolean isFeatureActionEnabled(Feature feature, FeatureAction action)
          The default implementation returns true.
 boolean isFeatureActionFactoryEnabled(Feature feature, FeatureActionFactory factory)
          The default implementation returns true.
 boolean isFeatureConstructorEnabled(Feature parent, java.lang.String childType, FeatureConstructor constructor)
          The default implementation returns true.
 boolean isFeatureConstructorFactoryEnabled(Feature parent, java.lang.String childType, FeatureConstructorFactory factory)
          The default implementation returns true.
 boolean isFeatureFactoryEnabled(Feature parent, java.lang.String type, FeatureFactory factory)
          The default implementation returns true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFeatureModelConfigurator

public AbstractFeatureModelConfigurator()
Method Detail

getSupportedFeatureTypes

public abstract com.sun.java.util.collections.Set getSupportedFeatureTypes()
Returns the set of feature types that it is interested in.
Specified by:
getSupportedFeatureTypes in interface FeatureModelConfigurator

isFeatureFactoryEnabled

public boolean isFeatureFactoryEnabled(Feature parent,
                                       java.lang.String type,
                                       FeatureFactory factory)
The default implementation returns true.
Specified by:
isFeatureFactoryEnabled in interface FeatureModelConfigurator

isFeatureActionFactoryEnabled

public boolean isFeatureActionFactoryEnabled(Feature feature,
                                             FeatureActionFactory factory)
The default implementation returns true.
Specified by:
isFeatureActionFactoryEnabled in interface FeatureModelConfigurator

isFeatureActionEnabled

public boolean isFeatureActionEnabled(Feature feature,
                                      FeatureAction action)
The default implementation returns true.
Specified by:
isFeatureActionEnabled in interface FeatureModelConfigurator

isFeatureConstructorFactoryEnabled

public boolean isFeatureConstructorFactoryEnabled(Feature parent,
                                                  java.lang.String childType,
                                                  FeatureConstructorFactory factory)
The default implementation returns true.
Specified by:
isFeatureConstructorFactoryEnabled in interface FeatureModelConfigurator

isFeatureConstructorEnabled

public boolean isFeatureConstructorEnabled(Feature parent,
                                           java.lang.String childType,
                                           FeatureConstructor constructor)
The default implementation returns true.
Specified by:
isFeatureConstructorEnabled in interface FeatureModelConfigurator

isDefaultFeatureConstructor

public boolean isDefaultFeatureConstructor(Feature parent,
                                           java.lang.String childType,
                                           FeatureConstructor constructor)
The default implementation returns true.
Specified by:
isDefaultFeatureConstructor in interface FeatureModelConfigurator