public class DefaultVisitDecider extends Object implements IVisitDecider
| Constructor and Description |
|---|
DefaultVisitDecider()
Create a new visit decider.
|
DefaultVisitDecider(boolean abort)
Create a new visit decider.
|
DefaultVisitDecider(boolean abort,
String scope)
Create a new visit decider.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCacheKey()
Get the cache key.
|
String |
getXMLScope()
Get the scope.
|
boolean |
isAbort()
Get the abort flag.
|
boolean |
searchNode(IServiceProvider start,
IServiceProvider source,
IServiceProvider target,
boolean ischild,
Collection results)
Test if a specific node should be searched.
|
void |
setAbort(boolean abort)
Set the abort flag.
|
void |
setXMLScope(String scope)
Set the scope when deserializing from XML.
|
public DefaultVisitDecider()
public DefaultVisitDecider(boolean abort)
public DefaultVisitDecider(boolean abort,
String scope)
public boolean searchNode(IServiceProvider start, IServiceProvider source, IServiceProvider target, boolean ischild, Collection results)
searchNode in interface IVisitDecidersource - The source data provider.target - The target data provider.results - The preliminary results.start - The start provider.public boolean isAbort()
public void setAbort(boolean abort)
abort - The abort flag to set.public void setXMLScope(String scope)
scope - The scope to set.public String getXMLScope()
public Object getCacheKey()
getCacheKey in interface IVisitDeciderCopyright © 2012. All Rights Reserved.