|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.schema.rules.BaseRule
org.apache.hivemind.schema.rules.PushContentRule
public class PushContentRule
A rule that reads the element's content, passes it through the content translator, then pushes the result onto the processor stack.
| Constructor Summary | |
|---|---|
PushContentRule()
|
|
| Method Summary | |
|---|---|
void |
begin(SchemaProcessor processor,
Element element)
Uses the content translator to convert the element content into an object and pushes that object onto the processor stack. |
void |
end(SchemaProcessor processor,
Element element)
Invokes SchemaProcessor.pop(). |
| Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
|---|
getLocation, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.hivemind.Locatable |
|---|
getLocation |
| Constructor Detail |
|---|
public PushContentRule()
| Method Detail |
|---|
public void begin(SchemaProcessor processor,
Element element)
begin in interface Rulebegin in class BaseRule
public void end(SchemaProcessor processor,
Element element)
SchemaProcessor.pop().
end in interface Ruleend in class BaseRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||