public final class BuilderFactory extends Object
Modifier and Type | Method and Description |
---|---|
protected static org.apache.commons.chain.Catalog |
getCatalog()
Returns catalog
Globals.BUILDER_CATALOG_NAME from file
Globals.BUILDER_RESOURCE_NAME . |
static Builder |
getRenderer(Node node)
Returns a
Builder mapped to a Node by executing chain
command Globals.FIND_BUILDER_COMMAND_NAME The
BuilderRuleContext is passed to the chain. |
protected static org.apache.commons.chain.Catalog getCatalog() throws Exception
Returns catalog Globals.BUILDER_CATALOG_NAME
from file
Globals.BUILDER_RESOURCE_NAME
.
Exception
- finding catalogpublic static Builder getRenderer(Node node)
Returns a Builder
mapped to a Node
by executing chain
command Globals.FIND_BUILDER_COMMAND_NAME
The
BuilderRuleContext
is passed to the chain.
node
- the markup nodeCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.