Interface PathAwareWebNode
-
- All Known Implementing Classes:
BasicWebNode
,CharterWebNode
,FairyRingWebNode
,GnomeGliderWebNode
,MagicCarpetWebNode
,MountainGuideWebNode
,SelfConnectingWebNode
,SpiritTreeWebNode
public interface PathAwareWebNode
Path aware web nodes are given the next web node in the path in theexecute(AbstractWebNode)
method
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
execute(AbstractWebNode next)
This is the same asAbstractWebNode.execute()
except the web walker will pass the next web node in the path after this node.
-
-
-
Method Detail
-
execute
boolean execute(AbstractWebNode next)
This is the same asAbstractWebNode.execute()
except the web walker will pass the next web node in the path after this node.Important note: if your node implements this interface, the walker will call
execute(AbstractWebNode)
instead ofAbstractWebNode.execute()
.- Parameters:
next
- the web node after this node in the web path, or null if this is the last web node- Returns:
- true if the node is successfully handled, false otherwise
-
-