|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap org.apache.commons.chain.impl.ContextBase org.apache.shale.clay.parser.builder.chain.BuilderRuleContext
public class BuilderRuleContext
This context is used by the BuilderFactory
to invoke the Globals.FIND_BUILDER_COMMAND_NAME
chain passing this context.
When the chain has stopped, the context will contain the
Builder
needed to convert the html Node
into a ElementBean
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
BuilderRuleContext()
|
Method Summary | |
---|---|
Builder |
getBuilder()
Returns the target Builder . |
Node |
getNode()
Returns the current html Node . |
void |
setBuilder(Builder builder)
Sets the target Builder . |
void |
setNode(Node node)
Sets the current html Node . |
Methods inherited from class org.apache.commons.chain.impl.ContextBase |
---|
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values |
Methods inherited from class java.util.HashMap |
---|
clone, containsKey, size |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsKey, equals, hashCode, size |
Constructor Detail |
---|
public BuilderRuleContext()
Method Detail |
---|
public Node getNode()
Returns the current html Node
.
public void setNode(Node node)
Sets the current html Node
.
node
- current html nodepublic Builder getBuilder()
Returns the target Builder
.
public void setBuilder(Builder builder)
Sets the target Builder
.
builder
- assigned to the node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |