Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.schema.rules
Class PushContentRule  view PushContentRule download PushContentRule.java

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.hivemind.schema.rules.BaseRule
          extended byorg.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

Field Summary
 
Fields inherited from class org.apache.hivemind.impl.BaseLocatable
 
Constructor Summary
PushContentRule()
           
 
Method Summary
 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.
 void end(org.apache.hivemind.schema.SchemaProcessor processor, org.apache.hivemind.Element element)
          Invokes SchemaProcessor.pop()>SchemaProcessor.pop() 55 .
 
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

PushContentRule

public PushContentRule()
Method Detail

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