java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.schema.rules.BaseRule
org.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.
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 |
_attributeName
private java.lang.String _attributeName
PushAttributeRule
public PushAttributeRule()
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()