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

java.lang.Object
  extended by org.apache.shale.clay.parser.builder.chain.ClayNamespaceBuilderRule
All Implemented Interfaces:
Command

public class ClayNamespaceBuilderRule
extends Object
implements Command

This class defines the rules that bind HTML Node's resembling the Clay DTD into corresponding Builder's. The html nodes will be defined in their own namespace.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
ClayNamespaceBuilderRule()
           
 
Method Summary
 boolean execute(Context context)
          Maps matching html Node's to corresponding builders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClayNamespaceBuilderRule

public ClayNamespaceBuilderRule()
Method Detail

execute

public boolean execute(Context context)
                throws Exception

Maps matching html Node's to corresponding builders.

Specified by:
execute in interface Command
Parameters:
context - commons chains
Returns:
true if the chain is done
Throws:
Exception - propagated up to the top of the chain


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