com.inline.feature.example
Class JavaFeatureModelFactory

java.lang.Object
  |
  +--com.inline.feature.example.JavaFeatureModelFactory

public class JavaFeatureModelFactory
extends java.lang.Object
implements FeatureModelFactory


Fields inherited from interface com.inline.feature.FeatureModelFactory
TYPE
 
Constructor Summary
JavaFeatureModelFactory()
           
 
Method Summary
 boolean canCreateFeatureModelForDocument(com.inline.resources.ResourceRepository repo, com.inline.resources.ResourceReference ref, com.sun.java.util.collections.Map properties)
          Returns true if the value of property "InLineExample" is "Java"
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFeatureModelFactory

public JavaFeatureModelFactory()
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 the value of property "InLineExample" is "Java"
Specified by:
canCreateFeatureModelForDocument in interface FeatureModelFactory

createFeatureModelForDocument

public FeatureModel createFeatureModelForDocument(com.inline.resources.ResourceRepository repo,
                                                  com.inline.resources.ResourceReference ref,
                                                  com.sun.java.util.collections.Map properties)
Description copied from interface: FeatureModelFactory
Allocates a feature model for the resource described by the specified resource reference
Specified by:
createFeatureModelForDocument in interface FeatureModelFactory