Author: dkulp
Date: Mon May 14 20:41:54 2012
New Revision: 1338390
URL: http://svn.apache.org/viewvc?rev=1338390&view=rev
Log:
Add ability to set the statics to cleanup some tests
Modified:
cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
Modified: cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java?rev=1338390&r1=1338389&r2=1338390&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
(original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java Mon May
14 20:41:54 2012
@@ -143,6 +143,13 @@ public final class StaxUtils {
private StaxUtils() {
}
+
+ public static void setInnerElementLevelThreshold(int i) {
+ innerElementLevelThreshold = i;
+ }
+ public static void setInnerElementCountThreshold(int i) {
+ innerElementCountThreshold = i;
+ }
/**
* CXF works with multiple STaX parsers. When we can't find any other way
to work