|
|||||||||||
| 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
Base class for filter directives.
| Constructor Summary | |
FilterDirective(String token)
Creation of a new anonymous resource directive. |
|
| Method Summary | |
boolean |
equals(Object other)
Compare this object with another for equality. |
String |
getToken()
Return the filter token. |
abstract String |
getValue(Resource resource)
Return the filter value. |
int |
hashCode()
Compute the hash value. |
| 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 FilterDirective(String token)
token - the filter token| Method Detail |
public String getToken()
getToken in interface Filter
public abstract String getValue(Resource resource)
throws ResourceNotFoundException
getValue in interface Filterresource - the enclosing resource
ResourceNotFoundException - if the feature references a
resource that is unknownpublic boolean equals(Object other)
equals in class AbstractDirectiveother - the other object
public int hashCode()
hashCode in class AbstractDirective
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||