| |
|
| java.lang.Object org.w3c.tools.resources.LookupResult
LookupResult | public class LookupResult (Code) | | This class is the result of the lookup algorithm.
|
FILTERS_INCR | final public static int FILTERS_INCR(Code) | | |
FILTERS_INIT_SIZE | final public static int FILTERS_INIT_SIZE(Code) | | |
filters | protected ResourceFilter filters(Code) | | The current set of computed filters to be applied on the resource.
|
flength | protected int flength(Code) | | The number of registered filters at this point.
|
LookupResult | public LookupResult(ResourceReference target)(Code) | | Create a new empty lookup result object.
Parameters: target - The root target of the lookup operation to run. |
addFilter | public void addFilter(ResourceFilter filter)(Code) | | Add a filter, to be invoked by the resource's perform
method.
Parameters: filter - The HTTPFIlter to be called. |
addFilters | public void addFilters(ResourceFilter fs)(Code) | | Add a set of filters to be invoked by the resource's
perform method.
Parameters: filters - The array of filters to register. |
getFilters | public ResourceFilter[] getFilters()(Code) | | Get the full list of filters to be applied when performing on the
resource.
An array of ResourceFilter instances, or nullif none is defined. |
getReply | public ReplyInterface getReply()(Code) | | Get the reply generated during the lookup.
A ReplyInterface instance. |
getTarget | public ResourceReference getTarget()(Code) | | Get the current lookup target of the lookup in progress.
An ResourceReference, that may be null. |
hasReply | public boolean hasReply()(Code) | | Does this LookupResult has a Reply.
a boolean. |
setReply | public void setReply(ReplyInterface reply)(Code) | | Set the reply generated during the lookup.
Parameters: reply - A ReplyInterface instance. |
setTarget | public void setTarget(ResourceReference target)(Code) | | Set the current target of the lookup operation.
Parameters: target - The new current target of the lookup in progress. |
|
|
|