org.exolab.adaptx.xslt.util

Class ActionTemplateImpl

Implemented Interfaces:
ActionTemplate

public class ActionTemplateImpl
extends java.lang.Object
implements ActionTemplate

The default implementation of ActionTemplate.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:56 $

Author:
Keith Visco

Constructor Summary

ActionTemplateImpl()
Creates an empty ActionTemplateImpl

Method Summary

ActionIterator
actions()
boolean
addAction(XSLObject xslObject)
Adds the given XSLObject to this ActionTemplate's list of actions.
XSLObject
lastAction()
Returns the last XSLObject of this ActionTemplate
int
size()
Returns the number of actions in this template

Constructor Details

ActionTemplateImpl

public ActionTemplateImpl()
Creates an empty ActionTemplateImpl

Method Details

actions

public ActionIterator actions()
Specified by:
actions in interface ActionTemplate


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
Specified by:
size in interface ActionTemplate

Returns:
the number of actions in this template