java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.schema.rules.BaseRule
org.apache.hivemind.schema.rules.PushContentRule
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.schema.Rule
- public class PushContentRule
- extends BaseRule
- implements org.apache.hivemind.schema.Rule
A rule that reads the element's content, passes it through the content translator, then pushes
the result onto the processor stack.
- Since:
- 1.1
| Fields inherited from class org.apache.hivemind.impl.BaseLocatable |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PushContentRule
public PushContentRule()
begin
public void begin(org.apache.hivemind.schema.SchemaProcessor processor,
org.apache.hivemind.Element element)
- Uses the content translator to convert the element content into an object and pushes that
object onto the processor stack.
- Specified by:
begin in interface org.apache.hivemind.schema.Rule- Overrides:
begin in class BaseRule
end
public void end(org.apache.hivemind.schema.SchemaProcessor processor,
org.apache.hivemind.Element element)
- Invokes SchemaProcessor.pop()>
SchemaProcessor.pop() 55 .
- Specified by:
end in interface org.apache.hivemind.schema.Rule- Overrides:
end in class BaseRule