| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.metro.data.AbstractDirective
net.dpml.metro.data.FeatureDirective
A FeatureDirective declares a context entry that is itself a feature
 of the component including the component uri, name, working directory, or temporary 
 directory.
| Field Summary | |
static int | 
NAME
Constant identifier for the component name feature.  | 
static int | 
TEMP
Constant identifier for the component temporary directory feature.  | 
static int | 
URI
Constant identifier for the component uri feature.  | 
static int | 
WORK
Constant identifier for the component working directory feature.  | 
| Constructor Summary | |
FeatureDirective(String key,
                                 int feature)
Create a new feature directive.  | 
|
| Method Summary | |
 boolean | 
equals(Object other)
Test if the supplied object is equal to this object.  | 
 int | 
getFeature()
Return the feature id.  | 
static int | 
getFeatureForName(String value)
Return the feature id givcen a supplied name.  | 
 String | 
getKey()
Return the feature key.  | 
 int | 
hashCode()
Return the hashcode for the instance.  | 
| Methods inherited from class net.dpml.metro.data.AbstractDirective | 
getPartHandlerURI, setupURI | 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final int NAME
public static final int URI
public static final int WORK
public static final int TEMP
| Constructor Detail | 
public FeatureDirective(String key,
                        int feature)
key - the feature namefeature - the feasture id| Method Detail | 
public static int getFeatureForName(String value)
value - the feature name
public String getKey()
public int getFeature()
public boolean equals(Object other)
equals in class AbstractDirectiveother - the object to compare with this instance
public int hashCode()
hashCode in class AbstractDirective
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||