org.apache.shale.clay.parser.builder.chain
Class ClayNamespaceBuilderRule
java.lang.Object
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.
|
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 |
ClayNamespaceBuilderRule
public ClayNamespaceBuilderRule()
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.