|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shale.clay.parser.builder.chain.SpanBuilderRule
public class SpanBuilderRule
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.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
SpanBuilderRule()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Returns a true value, ending the chain execution if the
html Node has a jsfid html attribute and is a span
HTML element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpanBuilderRule()
Method Detail |
---|
public boolean execute(org.apache.commons.chain.Context context) throws java.lang.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 chains
true
if final
java.lang.Exception
- propagated to the top chain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |