Add protected accessors so more specific subclasses of NumberFormat can access
parsed format values.

Patch by: mikeward
Review by: jat


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5287 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/i18n/client/NumberFormat.java b/user/src/com/google/gwt/i18n/client/NumberFormat.java
index 711820b..87469a4 100644
--- a/user/src/com/google/gwt/i18n/client/NumberFormat.java
+++ b/user/src/com/google/gwt/i18n/client/NumberFormat.java
@@ -504,6 +504,34 @@
     this(defaultNumberConstants, pattern, cdata, userSuppliedPattern);
   }
 
+  protected NumberConstants getNumberConstants() {
+    return numberConstants;
+  }
+
+  protected String getPositivePrefix() {
+    return positivePrefix;
+  }
+
+  protected String getPositiveSuffix() {
+    return positiveSuffix;
+  }
+
+  protected String getNegativePrefix() {
+    return negativePrefix;
+  }
+
+  protected String getNegativeSuffix() {
+    return negativeSuffix;
+  }
+
+  protected int getGroupingSize() {
+    return groupingSize;
+  }
+
+  protected boolean isDecimalSeparatorAlwaysShown() {
+    return decimalSeparatorAlwaysShown;
+  }
+
   /**
    * This method formats a double to produce a string.
    *