com.inline.feature.example
Class JavaMemberFeatureFactory
java.lang.Object
|
+--com.inline.feature.common.AbstractFeatureFactory
|
+--com.inline.feature.example.JavaMemberFeatureFactory
- public class JavaMemberFeatureFactory
- extends AbstractFeatureFactory
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JavaMemberFeatureFactory
public JavaMemberFeatureFactory()
getSupportedFeatureTypes
public com.sun.java.util.collections.Set getSupportedFeatureTypes(FeatureModel model)
- Description copied from interface: FeatureFactory
- 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: FeatureFactory
- This factory can only create subfeatures for the feature types
returned by this method. This method is used for optimization of
the factory lookup.
allocateChildFeatureSet
public FeatureSet allocateChildFeatureSet(Feature parent,
java.lang.String type)
- Description copied from interface: FeatureFactory
- Returns a FeatureSet 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.
getParentFeatureURL
public java.net.URL getParentFeatureURL(FeatureModel model,
java.net.URL url)
- Description copied from class: AbstractFeatureFactory
- Override this method to support direct feature lookup in the model.
The method should infer parent feature's URL from the supplied feature URL.
- Overrides:
- getParentFeatureURL in class AbstractFeatureFactory