Class ActionTemplateImpl

java.lang.Object
org.exolab.adaptx.xslt.util.ActionTemplateImpl
All Implemented Interfaces:
ActionTemplate

public class ActionTemplateImpl extends 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 Details

    • ActionTemplateImpl

      public ActionTemplateImpl()
      Creates an empty ActionTemplateImpl
  • Method Details

    • actions

      public ActionIterator actions()
      Description copied from interface: ActionTemplate
      Returns an Iteration of the XSLObjects (actions) in this template
      Specified by:
      actions in interface ActionTemplate
      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:
      size in interface ActionTemplate
      Returns:
      the number of actions in this template