public abstract class JumperStrategy extends Object
contains(org.mmbase.module.core.MMObjectNode) in calculate(org.mmbase.module.core.MMObjectNode). For calculating actual jumper only calculate(org.mmbase.module.core.MMObjectNode) is called, which can rapidly return null if it cannot calculate for the
given Node.contains(MMObjectNode),
calculate(MMObjectNode)| Constructor and Description |
|---|
JumperStrategy() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
calculate(MMObjectNode node)
calculates an url for this node.
|
boolean |
contains(MMObjectNode node)
signals whether this strategy can calculate an url for this node.
|
public boolean contains(MMObjectNode node)
node - node for which an url has to be calculated forpublic abstract String calculate(MMObjectNode node)
node - node for which an url has to be calculated forcontains(MMObjectNode)MMBase 1.9-SNAPSHOT - ${javadoctimestamp}