bodewig 02/04/12 05:36:09
Modified: src/main/org/apache/tools/ant/taskdefs XSLTLiaison.java
Log:
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).
Revision Changes Path
1.12 +6 -0
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java
Index: XSLTLiaison.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/XSLTLiaison.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- XSLTLiaison.java 7 Feb 2002 22:08:33 -0000 1.11
+++ XSLTLiaison.java 12 Apr 2002 12:36:09 -0000 1.12
@@ -62,6 +62,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Sam Ruby</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Stephane Bailliez</a>
* @see XSLTProcess
+ * @since Ant 1.1
*/
public interface XSLTLiaison {
@@ -71,12 +72,14 @@
* Typically: <tt>FILE_PROTOCOL_PREFIX + file.getAbsolutePath()</tt>
* 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 @@
* @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 @@
* 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 @@
* @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;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>