|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.lang.AbstractDirective
net.dpml.library.info.FilterDirective
net.dpml.library.info.FeatureFilterDirective
Simple value filter.
| Constructor Summary | |
FeatureFilterDirective(String token,
String ref,
Feature feature,
String type,
boolean alias)
Creation of a new anonymous resource directive. |
|
| Method Summary | |
boolean |
equals(Object other)
Compare this object with another for equality. |
String |
getResourceReference()
Get the resource ref value. |
String |
getValue(Resource resource)
Return the filter value. |
int |
hashCode()
Compute the hash value. |
| Methods inherited from class net.dpml.library.info.FilterDirective |
getToken |
| Methods inherited from class net.dpml.lang.AbstractDirective |
equals, hashArray, hashValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FeatureFilterDirective(String token,
String ref,
Feature feature,
String type,
boolean alias)
token - the filter tokenref - an external resource refernce (possibly null)feature - the resource featuretype - the resource typealias - if the alias flag| Method Detail |
public String getResourceReference()
public String getValue(Resource resource)
throws ResourceNotFoundException
getValue in interface FiltergetValue in class FilterDirectiveresource - the enclosing resource
ResourceNotFoundException - if the feature references a
resource that is unknownpublic boolean equals(Object other)
equals in class FilterDirectiveother - the other object
public int hashCode()
hashCode in class FilterDirective
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||