git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274007 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -156,7 +156,7 @@ element which is used to perform Entity and URI resolution</p> | |||||
| <td valign="top">Control whether the stylesheet transformer is created | <td valign="top">Control whether the stylesheet transformer is created | ||||
| anew for every transform opertaion. If you set this to true, performance may | anew for every transform opertaion. If you set this to true, performance may | ||||
| suffer, but you may work around a bug in certain Xalan-J versions. | suffer, but you may work around a bug in certain Xalan-J versions. | ||||
| Default is <code>false</code>. <em>Since Ant 1.6</em>.</td> | |||||
| Default is <code>false</code>. <em>Since Ant 1.5.2</em>.</td> | |||||
| <td valign="top" align="center">No</td> | <td valign="top" align="center">No</td> | ||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| @@ -113,8 +113,9 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
| /** Classpath to use when trying to load the XSL processor */ | /** Classpath to use when trying to load the XSL processor */ | ||||
| private Path classpath = null; | private Path classpath = null; | ||||
| /** implementation to use to communicate with the XSL processor */ | |||||
| /** The Liason implementation to use to communicate with the XSL | |||||
| * processor */ | |||||
| private XSLTLiaison liaison; | private XSLTLiaison liaison; | ||||
| /** Flag which indicates if the stylesheet has been loaded into | /** Flag which indicates if the stylesheet has been loaded into | ||||
| @@ -147,6 +148,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
| /** | /** | ||||
| * Whether to style all files in the included directories as well. | * Whether to style all files in the included directories as well. | ||||
| * | |||||
| * @since Ant 1.5 | * @since Ant 1.5 | ||||
| */ | */ | ||||
| private boolean performDirectoryScan = true; | private boolean performDirectoryScan = true; | ||||
| @@ -159,7 +161,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
| /** | /** | ||||
| * whether to reuse Transformer if transforming multiple files. | * whether to reuse Transformer if transforming multiple files. | ||||
| * @since 1.6 | |||||
| * @since 1.5.2 | |||||
| */ | */ | ||||
| private boolean reuseLoadedStylesheet = true; | private boolean reuseLoadedStylesheet = true; | ||||
| @@ -187,7 +189,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
| * <p>Setting this to true may get around a bug in certain | * <p>Setting this to true may get around a bug in certain | ||||
| * Xalan-J versions, default is false.</p> | * Xalan-J versions, default is false.</p> | ||||
| * | * | ||||
| * @since Ant 1.6 | |||||
| * @since Ant 1.5.2 | |||||
| */ | */ | ||||
| public void setReloadStylesheet(boolean b) { | public void setReloadStylesheet(boolean b) { | ||||
| reuseLoadedStylesheet = !b; | reuseLoadedStylesheet = !b; | ||||
| @@ -715,7 +717,6 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { | |||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||
| * Initialize internal instance of XMLCatalog | * Initialize internal instance of XMLCatalog | ||||
| */ | */ | ||||
| @@ -117,7 +117,7 @@ public class TraXLiaison implements XSLTLiaison, ErrorListener, XSLTLoggerAware | |||||
| /** The In memory version of the stylesheet */ | /** The In memory version of the stylesheet */ | ||||
| private Templates templates; | private Templates templates; | ||||
| /** | /** | ||||
| * The modification time of the stylesheet from which the templates | * The modification time of the stylesheet from which the templates | ||||
| * are read | * are read | ||||
| @@ -284,7 +284,7 @@ public class TraXLiaison implements XSLTLiaison, ErrorListener, XSLTLoggerAware | |||||
| * @throws BuildException thrown if there is a problem creating | * @throws BuildException thrown if there is a problem creating | ||||
| * the factory. | * the factory. | ||||
| * @see #setFactory(String) | * @see #setFactory(String) | ||||
| * @since Ant 1.6 | |||||
| * @since Ant 1.5.2 | |||||
| */ | */ | ||||
| private TransformerFactory getFactory() throws BuildException { | private TransformerFactory getFactory() throws BuildException { | ||||
| if (tfactory != null) { | if (tfactory != null) { | ||||
| @@ -345,6 +345,7 @@ public class TraXLiaison implements XSLTLiaison, ErrorListener, XSLTLoggerAware | |||||
| * @param name the output property name. | * @param name the output property name. | ||||
| * @param value the output property value. | * @param value the output property value. | ||||
| * @since Ant 1.5 | * @since Ant 1.5 | ||||
| * @since Ant 1.5 | |||||
| */ | */ | ||||
| public void setOutputProperty(String name, String value) { | public void setOutputProperty(String name, String value) { | ||||
| final String[] pair = new String[]{name, value}; | final String[] pair = new String[]{name, value}; | ||||