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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.hivemind.schema.rules.BaseRule
          extended byorg.apache.hivemind.schema.rules.PushAttributeRule
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.schema.Rule

public class PushAttributeRule
extends BaseRule

A rule that reads an attribute, passes it through a translator, then pushes the result onto the processor stack.


Field Summary
private  java.lang.String _attributeName
           
 
Fields inherited from class org.apache.hivemind.impl.BaseLocatable
 
Constructor Summary
PushAttributeRule()
           
 
Method Summary
 void begin(org.apache.hivemind.schema.SchemaProcessor processor, org.apache.hivemind.Element element)
          Uses the translator to convert the specified attribute 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 .
 java.lang.String getAttributeName()
           
 void setAttributeName(java.lang.String string)
           
 
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
 

Field Detail

_attributeName

private java.lang.String _attributeName
Constructor Detail

PushAttributeRule

public PushAttributeRule()
Method Detail

begin

public void begin(org.apache.hivemind.schema.SchemaProcessor processor,
                  org.apache.hivemind.Element element)
Uses the translator to convert the specified attribute 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

setAttributeName

public void setAttributeName(java.lang.String string)

getAttributeName

public java.lang.String getAttributeName()