org.exolab.adaptx.xslt.util

Class ActionTemplateImpl

public class ActionTemplateImpl extends Object implements ActionTemplate

The default implementation of ActionTemplate.

Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $

Author: Keith Visco

Constructor Summary
ActionTemplateImpl()
Creates an empty ActionTemplateImpl
Method Summary
ActionIteratoractions()
booleanaddAction(XSLObject xslObject)
Adds the given XSLObject to this ActionTemplate's list of actions.
XSLObjectlastAction()
Returns the last XSLObject of this ActionTemplate
intsize()
Returns the number of actions in this template

Constructor Detail

ActionTemplateImpl

public ActionTemplateImpl()
Creates an empty ActionTemplateImpl

Method Detail

actions

public ActionIterator actions()

addAction

public boolean addAction(XSLObject xslObject)
Adds the given XSLObject to this ActionTemplate's list of actions.

Parameters: xslObject the XSLObject to add

Returns: true if the given XSLObject has been added to this XSLObject otherwise false

lastAction

public XSLObject lastAction()
Returns the last XSLObject of this ActionTemplate

Returns: the last XSLObject of this ActionTemplate

size

public int size()
Returns the number of actions in this template

Returns: the number of actions in this template