Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-185

[validator] Request public methods to access constants in ValidatorResources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0 Release
    • None
    • None
    • None
    • Operating System: Windows XP
      Platform: All

    • 29815

    Description

      In the validator xml file, I can define constants.

      <constant>
      <constant-name>name</constant-name>
      <constant-value>mary</constant-value>
      </constant>

      However, in ValidatorResources class, it is defined as

      protected org.apache.commons.collections.FastHashMap hConstants

      Please provide a public method to access these constants in my program.

      Attachments

        Activity

          People

            Unassigned Unassigned
            z2liu_work@yahoo.com Zhe Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: