Author: mrdon
Date: Sat Apr 19 20:54:03 2008
New Revision: 649881

URL: http://svn.apache.org/viewvc?rev=649881&view=rev
Log:
Adding back accessors as deprecated for xslt result
WW-1550

Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java?rev=649881&r1=649880&r2=649881&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java
 Sat Apr 19 20:54:03 2008
@@ -177,6 +177,14 @@
  * <li><b>parse</b> - true by default. If set to false, the location param will
  * not be parsed for Ognl expressions.</li>
  *
+ * <!--
+ * <li><b>matchingPattern</b> - Pattern that matches only desired elements, by
+ * default it matches everything.</li>
+ *
+ * <li><b>excludingPattern</b> - Pattern that eliminates unwanted elements, by
+ * default it matches none.</li>
+ * -->
+ *
  * </ul>
  *
  * <p>
@@ -271,6 +279,34 @@
 
     public void setExposedValue(String exposedValue) {
         this.exposedValue = exposedValue;
+    }
+
+    /**
+     * @deprecated Since 2.1.1
+     */
+    public String getMatchingPattern() {
+        return matchingPattern;
+    }
+
+    /**
+     * @deprecated Since 2.1.1
+     */
+    public void setMatchingPattern(String matchingPattern) {
+        this.matchingPattern = matchingPattern;
+    }
+
+    /**
+     * @deprecated Since 2.1.1
+     */
+    public String getExcludingPattern() {
+        return excludingPattern;
+    }
+
+    /**
+     * @deprecated Since 2.1.1
+     */
+    public void setExcludingPattern(String excludingPattern) {
+        this.excludingPattern = excludingPattern;
     }
 
     /**


Reply via email to