uk.me.parabola.mkgmap.osmstyle.actions
Class SubAction
java.lang.Object
uk.me.parabola.mkgmap.osmstyle.actions.SubAction
- All Implemented Interfaces:
- Action
public class SubAction
- extends java.lang.Object
- implements Action
This is an action that contains sub-actions. It is used for Relations
where you want to apply the commands to the elements that are contained
in the relation and not on the relation itself.
- Author:
- Steve Ratcliffe
Constructor Summary |
SubAction(java.lang.String role,
boolean once)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SubAction
public SubAction(java.lang.String role,
boolean once)
perform
public void perform(Element el)
- Description copied from interface:
Action
- Perform the action on the element.
- Specified by:
perform
in interface Action
add
public void add(Action act)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object