jvanzyl     01/07/14 07:43:16

  Modified:    src/java/org/apache/turbine RunData.java
  Log:
  - getting rid of ECS
  
  Revision  Changes    Path
  1.8       +4 -69     jakarta-turbine/src/java/org/apache/turbine/RunData.java
  
  Index: RunData.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/RunData.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RunData.java      2001/07/13 17:35:36     1.7
  +++ RunData.java      2001/07/14 14:43:16     1.8
  @@ -66,9 +66,6 @@
   import org.apache.turbine.om.security.User;
   import org.apache.turbine.util.security.AccessControlList;
   import org.apache.turbine.util.template.TemplateInfo;
  -import org.apache.ecs.Document;
  -import org.apache.ecs.Element;
  -import org.apache.ecs.StringElement;
   
   //!! This is a lot of baggage.
   import org.apache.turbine.ParameterParser;
  @@ -86,7 +83,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]";>Jon S. Stevens</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Bernie Hoeneisen</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Daniel Rall</a>
  - * @version $Id: RunData.java,v 1.7 2001/07/13 17:35:36 jvanzyl Exp $
  + * @version $Id: RunData.java,v 1.8 2001/07/14 14:43:16 jvanzyl Exp $
    */
   public interface RunData
   {
  @@ -161,13 +158,6 @@
       public boolean isPageSet();
   
       /**
  -     * Gets the page.
  -     *
  -     * @return a document.
  -     */
  -    public Document getPage();
  -
  -    /**
        * Whether or not an action has been defined.
        *
        * @return true if an action has been defined.
  @@ -294,64 +284,6 @@
       public TemplateInfo getTemplateInfo();
   
       /**
  -     * Whether or not a message has been defined.
  -     *
  -     * @return true if a message has been defined.
  -     */
  -    public boolean hasMessage();
  -
  -    /**
  -     * Gets the results of an action or another message
  -     * to be displayed as a string.
  -     *
  -     * @return a string.
  -     */
  -    public String getMessage();
  -
  -    /**
  -     * Sets the message for the request as a string.
  -     *
  -     * @param msg a string.
  -     */
  -    public void setMessage(String msg);
  -
  -    /**
  -     * Adds the string to message. If message has prior messages from
  -     * other actions or screens, this method can be used to chain them.
  -     *
  -     * @param msg a string.
  -     */
  -    public void addMessage(String msg);
  -
  -    /**
  -     * Gets the results of an action or another message
  -     * to be displayed as an ECS string element.
  -     *
  -     * @return a string element.
  -     */
  -    public StringElement getMessageAsHTML();
  -
  -    /**
  -     * Sets the message for the request as an ECS element.
  -     *
  -     * @param msg an element.
  -     */
  -    public void setMessage(Element msg);
  -
  -    /**
  -     * Adds the ECS element to message. If message has prior messages from
  -     * other actions or screens, this method can be used to chain them.
  -     *
  -     * @param msg an element.
  -     */
  -    public void addMessage(Element msg);
  -
  -    /**
  -     * Unsets the message for the request.
  -     */
  -    public void unsetMessage();
  -
  -    /**
        * Gets the title of the page.
        *
        * @return a string.
  @@ -618,4 +550,7 @@
   
       // this seems to have been missing from the interface?
       public void setParameterParser(ParameterParser p);
  +
  +    public void setMessage(String message);
  +    public String getMessage();
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to