Package org.exolab.adaptx.xslt.util
Class ActionTemplateImpl
- java.lang.Object
-
- org.exolab.adaptx.xslt.util.ActionTemplateImpl
-
- All Implemented Interfaces:
ActionTemplate
public class ActionTemplateImpl extends java.lang.Object implements ActionTemplate
The default implementation of ActionTemplate.- Version:
- $Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
- Author:
- Keith Visco
-
-
Constructor Summary
Constructors Constructor Description ActionTemplateImpl()Creates an empty ActionTemplateImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionIteratoractions()Returns an Iteration of the XSLObjects (actions) in this templatebooleanaddAction(XSLObject xslObject)Adds the given XSLObject to this ActionTemplate's list of actions.XSLObjectlastAction()Returns the last XSLObject of this ActionTemplateintsize()Returns the number of actions in this template
-
-
-
Method Detail
-
actions
public ActionIterator actions()
Description copied from interface:ActionTemplateReturns an Iteration of the XSLObjects (actions) in this template- Specified by:
actionsin interfaceActionTemplate- Returns:
- an Iteration of the XSLObjects (actions) in this template
-
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:
sizein interfaceActionTemplate- Returns:
- the number of actions in this template
-
-