public class AnchorBuilderRule extends Object implements org.apache.commons.chain.Command
| Constructor and Description |
|---|
AnchorBuilderRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Uses the
BuilderRuleContext to find the current html Node. |
public boolean execute(org.apache.commons.chain.Context context)
throws Exception
Uses the BuilderRuleContext to find the current html Node.
If the node is an anchored element, return an instance if the builder and
stop the chain.
execute in interface org.apache.commons.chain.Commandcontext - commons chainstrue if is finalException - throws back to the top of the chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.