org.millscript.millscript.action
Class XMLAction

java.lang.Object
  extended by org.millscript.millscript.action.Action
      extended by org.millscript.millscript.action.XMLAction
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin

public final class XMLAction
extends Action

This class implements the action for an XML element expression.

See Also:
XMLExpr, XMLElementSyntax

Constructor Summary
XMLAction(Action a, Action[] b, Action[] c, Action d)
          Constructs a new XML element action, with the specified element name, attribute names, attribute values and body actions
 
Method Summary
 void action(Machine mc)
          Performs this action, on the specified machine.
 
Methods inherited from class org.millscript.millscript.action.Action
act, act1, getLineNumber, getOrigin, predAct, setContext, setLineNumber, setOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAction

public XMLAction(Action a,
                 Action[] b,
                 Action[] c,
                 Action d)
Constructs a new XML element action, with the specified element name, attribute names, attribute values and body actions

Parameters:
a - the XML element name action
b - the array of XML element attribute name actions
c - the array of XML element attribute value actions
d - the XML element body action
Method Detail

action

public void action(Machine mc)
Description copied from class: Action
Performs this action, on the specified machine. This method must be implemented in sub-classes to perform the required actions.

Specified by:
action in class Action
Parameters:
mc - the machine to perform this action on
See Also:
Action.action(org.millscript.millscript.vm.Machine)


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.