public class LabelBuilderRule extends Object implements org.apache.commons.chain.Command
This Command
rule has an implied mapping of a html label
Node
to a OutputLabelBuilder
regardless of the mapped
jsfid
Constructor and Description |
---|
LabelBuilderRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
If the html
Node is a label, return return the
OutputLabelBuilder and complete the chain by returning a
true value. |
public boolean execute(org.apache.commons.chain.Context context) throws Exception
If the html Node
is a label, return return the
OutputLabelBuilder
and complete the chain by returning a
true
value. The BuilderRuleContext
contains the
current Node
and the target Builder
.
execute
in interface org.apache.commons.chain.Command
context
- chains contexttrue
if the chain is doneException
- up the calling chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.