You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2002/08/17 03:15:25 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/flow Interpreter.java
ovidiu 2002/08/16 18:15:25
Modified: src/java/org/apache/cocoon/components/flow Interpreter.java
Log:
Removed the readScript() method from the contract. Organized the imports.
Revision Changes Path
1.5 +4 -19 xml-cocoon2/src/java/org/apache/cocoon/components/flow/Interpreter.java
Index: Interpreter.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/Interpreter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Interpreter.java 12 Aug 2002 07:50:52 -0000 1.4
+++ Interpreter.java 17 Aug 2002 01:15:25 -0000 1.5
@@ -42,19 +42,15 @@
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- This software consists of voluntary contributions made by many individuals
- on behalf of the Apache Software Foundation and was originally created by
- Stefano Mazzocchi <st...@apache.org>. For more information on the Apache
- Software Foundation, please see <http://www.apache.org/>.
-
*/
package org.apache.cocoon.components.flow;
-import java.util.List;
import java.util.Map;
-import org.apache.cocoon.components.treeprocessor.CategoryNode;
+import java.util.List;
+import java.io.InputStream;
+
import org.apache.cocoon.environment.Environment;
-import org.apache.excalibur.source.Source;
+import org.apache.cocoon.components.treeprocessor.CategoryNode;
/**
* The interface to the flow scripting languages. This interface is
@@ -137,17 +133,6 @@
}
public static String ROLE = Interpreter.class.getName();
-
- /**
- * Load a script given its location.
- *
- * @param environment an <code>Environment</code> value
- * @param source a <code>String</code> value
- * @return a <code>Source</code> value
- * @exception Exception if an error occurs
- */
- Source readScript(Environment environment, String source)
- throws Exception;
/**
* This method is called from the sitemap, using the syntax
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org