com.inline.feature.example
Class RandomFieldConstructorFactory

java.lang.Object
  |
  +--com.inline.feature.common.AbstractFeatureConstructorFactory
        |
        +--com.inline.feature.example.RandomFieldConstructorFactory

public class RandomFieldConstructorFactory
extends AbstractFeatureConstructorFactory


Constructor Summary
RandomFieldConstructorFactory()
           
 
Method Summary
 com.sun.java.util.collections.Set getFeatureConstructors(Feature parent, java.lang.String type)
          Returns a Set object which recognizes subfeatures on the supplied parent feature.
 com.sun.java.util.collections.Set getParentFeatureTypes(FeatureModel model, java.lang.String type)
          This factory can only create subfeatures for the feature types returned by this method.
 com.sun.java.util.collections.Set getSupportedFeatureTypes(FeatureModel model)
          A factory is associated with one or more feature types within the scope of every feature model.
 
Methods inherited from class com.inline.feature.common.AbstractFeatureConstructorFactory
isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomFieldConstructorFactory

public RandomFieldConstructorFactory()
Method Detail

getSupportedFeatureTypes

public com.sun.java.util.collections.Set getSupportedFeatureTypes(FeatureModel model)
Description copied from interface: FeatureConstructorFactory
A factory is associated with one or more feature types within the scope of every feature model.

getParentFeatureTypes

public com.sun.java.util.collections.Set getParentFeatureTypes(FeatureModel model,
                                                               java.lang.String type)
Description copied from interface: FeatureConstructorFactory
This factory can only create subfeatures for the feature types returned by this method.

getFeatureConstructors

public com.sun.java.util.collections.Set getFeatureConstructors(Feature parent,
                                                                java.lang.String type)
Description copied from interface: FeatureConstructorFactory
Returns a Set object which recognizes subfeatures on the supplied parent feature. Note that the overall list of children is composed of sets returned by all relevant factories.