|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.clay.parser.builder.BuilderFactory
public final class BuilderFactory
This is an abstract factory that returns a Builder mapped to a
Node. The mapping is performed by executing Chain
Globals.FIND_BUILDER_COMMAND_NAME
in Globals.BUILDER_CATALOG_NAME defined in
Globals.BUILDER_RESOURCE_NAME.
| Method Summary | |
|---|---|
protected static 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected static 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 node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||