Adding back accessors as deprecated for xslt result

WW-1550


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@649881 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald J. Brown
2008-04-20 03:54:03 +00:00
parent 6078c43b68
commit f3d09a04c1
@@ -177,6 +177,14 @@ import com.opensymphony.xwork2.util.logging.LoggerFactory;
* <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>
@@ -273,6 +281,34 @@ public class XSLTResult implements Result {
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;
}
/**
* If true, parse the stylesheet location for OGNL expressions.
*