public class SpanBuilderRule extends Object implements org.apache.commons.chain.Command
This Command
rule matches a html span Node
to a
MorphBuilder
. This rule is different in that jsfid
is
used to find the target componentType to replace the html span tag. If a
jsfid
is not found as an attribute in the html Node
,
no match is made.
Constructor and Description |
---|
SpanBuilderRule() |
public boolean execute(org.apache.commons.chain.Context context) throws Exception
Returns a true
value, ending the chain execution if the
html Node
has a jsfid
html attribute and is a span
HTML element.
execute
in interface org.apache.commons.chain.Command
context
- commons chainstrue
if finalException
- propagated to the top chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.