org.apache.shale.clay.parser.builder.chain

Class LabelBuilderRule

    • Constructor Detail

      • LabelBuilderRule

        public LabelBuilderRule()
    • Method Detail

      • execute

        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.

        Specified by:
        execute in interface org.apache.commons.chain.Command
        Parameters:
        context - chains context
        Returns:
        true if the chain is done
        Throws:
        Exception - up the calling chain

Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.