From aba1be216b8e8f554e7eeab98c77fdb5d61d2a47 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 12 Apr 2002 12:36:09 +0000 Subject: [PATCH] Add some @since tags to an interface we've told people they could implement for custom plugins - bad example of backwards incompatibility at work (there's been no release since 1.2 that didn't change the interface and there is no single method of the 1.2 release left in that interface). git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272402 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java b/src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java index 1f94f727d..33f0d529b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java +++ b/src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java @@ -62,6 +62,7 @@ import java.io.File; * @author Sam Ruby * @author Stephane Bailliez * @see XSLTProcess + * @since Ant 1.1 */ public interface XSLTLiaison { @@ -71,12 +72,14 @@ public interface XSLTLiaison { * Typically: FILE_PROTOCOL_PREFIX + file.getAbsolutePath() * Note that on Windows, an extra '/' must be appended to the * protocol prefix so that there is always 3 consecutive slashes. + * @since Ant 1.4 */ String FILE_PROTOCOL_PREFIX = "file://"; /** * set the stylesheet to use for the transformation. * @param stylesheet the stylesheet to be used for transformation. + * @since Ant 1.4 */ void setStylesheet(File stylesheet) throws Exception; @@ -85,6 +88,7 @@ public interface XSLTLiaison { * @param name the parameter name. * @param expression the parameter value as an expression string. * @throws Exception thrown if any problems happens. + * @since Ant 1.3 */ void addParam(String name, String expression) throws Exception; @@ -93,6 +97,7 @@ public interface XSLTLiaison { * default) is guaranteed to work for all parsers. Xalan2 also * supports "html" and "text". * @param type the output method to use + * @since Ant 1.5 */ void setOutputtype(String type) throws Exception; @@ -102,6 +107,7 @@ public interface XSLTLiaison { * @param outfile the output file resulting from the transformation * @throws Exception thrown if any problems happens. * @see #setStylesheet(File) + * @since Ant 1.4 */ void transform(File infile, File outfile) throws Exception;