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

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

public class JsfDefaultBuilderRule
extends Object
implements Command

Delegates all handling to a common JsfDefaultBuilder that can transform markup that looks like JSP tags to a graph of InnerComponentBean beans.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
JsfDefaultBuilderRule()
           
 
Method Summary
 boolean execute(Context context)
          Assigns handling of the markup to JsfDefaultBuilder without condition.
 String getPrefix()
          Returns the namespace prefix that will be added to the node name when resolving the clay config.
 void setPrefix(String prefix)
          Sets the namespace preix that will override the template nodeds qname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfDefaultBuilderRule

public JsfDefaultBuilderRule()
Method Detail

execute

public boolean execute(Context context)

Assigns handling of the markup to JsfDefaultBuilder without condition.

Specified by:
execute in interface Command
Parameters:
context - common chains
Returns:
true if the chain is done

getPrefix

public String getPrefix()

Returns the namespace prefix that will be added to the node name when resolving the clay config.

Returns:
URI prefix

setPrefix

public void setPrefix(String prefix)

Sets the namespace preix that will override the template nodeds qname.

Parameters:
prefix - URI prefix


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