You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jb...@apache.org on 2007/03/26 00:52:21 UTC
svn commit: r522371 - in
/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer:
XsltTransformer.java XsltTransformerBehavior.java
Author: jbq
Date: Sun Mar 25 15:52:20 2007
New Revision: 522371
URL: http://svn.apache.org/viewvc?view=rev&rev=522371
Log:
Improve Javadoc for XsltTransformer(String)
Modified:
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformer.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformerBehavior.java
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformer.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformer.java?view=diff&rev=522371&r1=522370&r2=522371
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformer.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformer.java Sun Mar 25 15:52:20 2007
@@ -28,6 +28,7 @@
import wicket.Application;
import wicket.Component;
import wicket.util.resource.IResourceStream;
+import wicket.util.resource.locator.IResourceStreamLocator;
/**
* A processor to XSLT transform the output generated by a Component.
@@ -57,7 +58,11 @@
* file, it is given by the user.
*
* @param xslFile
- * XSL input file path
+ * XSL input file path relative to the component's package. If
+ * the path does not end with <tt>.xsl</tt>, then it is
+ * considered as a basename and will be passed as-is to
+ * {@link IResourceStreamLocator#locate(Class, String, String, java.util.Locale, String)}.
+ * All stylesheets must have the <tt>.xsl</tt> extension.
*/
public XsltTransformer(final String xslFile)
{
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformerBehavior.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformerBehavior.java?view=diff&rev=522371&r1=522370&r2=522371
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformerBehavior.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/transformer/XsltTransformerBehavior.java Sun Mar 25 15:52:20 2007
@@ -18,7 +18,6 @@
import wicket.Component;
import wicket.markup.ComponentTag;
-import wicket.util.resource.locator.IResourceStreamLocator;
/**
* An IBehavior which can be added to any component except ListView. It allows
@@ -59,15 +58,7 @@
}
/**
- * Instead of using the default mechanism to determine the associated XSL
- * file, it is given by the user.
- *
- * @param xslFilePath
- * XSL input file path relative to the component's package. If
- * the path does not end with <tt>.xsl</tt>, then it is
- * considered as a basename and will be passed as-is to
- * {@link IResourceStreamLocator#locate(Class, String, String, java.util.Locale, String)}.
- * All stylesheets must have the <tt>.xsl</tt> extension.
+ * @see XsltTransformer#XsltTransformer(String)
*/
public XsltTransformerBehavior(final String xslFilePath)
{