com.inline.feature
Interface FeatureModelFactory

All Known Implementing Classes:
JavaFeatureModelFactory

public interface FeatureModelFactory

FeatureModels are created by FeatureModelFactories. Factories of all types are registered in the ResourceFactory for the product or a plug-in.

See Also:
FeatureService.getFeatureModelFactories()

Field Summary
static java.lang.String TYPE
          Resource type for instances of FeatureModelFactory
 
Method Summary
 boolean canCreateFeatureModelForDocument(com.inline.resources.ResourceRepository repo, com.inline.resources.ResourceReference ref, com.sun.java.util.collections.Map properties)
          Returns true if it can construct a feature model for the resource described by this resource reference.
 FeatureModel createFeatureModelForDocument(com.inline.resources.ResourceRepository repo, com.inline.resources.ResourceReference ref, com.sun.java.util.collections.Map properties)
          Allocates a feature model for the resource described by the specified resource reference
 

Field Detail

TYPE

public static final java.lang.String TYPE
Resource type for instances of FeatureModelFactory
Method Detail

canCreateFeatureModelForDocument

public boolean canCreateFeatureModelForDocument(com.inline.resources.ResourceRepository repo,
                                                com.inline.resources.ResourceReference ref,
                                                com.sun.java.util.collections.Map properties)
Returns true if it can construct a feature model for the resource described by this resource reference.

createFeatureModelForDocument

public FeatureModel createFeatureModelForDocument(com.inline.resources.ResourceRepository repo,
                                                  com.inline.resources.ResourceReference ref,
                                                  com.sun.java.util.collections.Map properties)
Allocates a feature model for the resource described by the specified resource reference