org.apache.hivemind.schema.rules
Class PushAttributeRule
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.schema.rules.BaseRule
org.apache.hivemind.schema.rules.PushAttributeRule
- All Implemented Interfaces:
- Locatable, LocationHolder, 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.
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PushAttributeRule
public PushAttributeRule()
begin
public void begin(SchemaProcessor processor,
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 Rule
- Overrides:
begin
in class BaseRule
end
public void end(SchemaProcessor processor,
Element element)
- Invokes
SchemaProcessor.pop()
.
- Specified by:
end
in interface Rule
- Overrides:
end
in class BaseRule
setAttributeName
public void setAttributeName(java.lang.String string)
getAttributeName
public java.lang.String getAttributeName()