You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/06/26 03:37:21 UTC

DO NOT REPLY [Bug 29815] New: - Request public methods to access constants in ValidatorResources

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29815>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29815

Request public methods to access constants in ValidatorResources

           Summary: Request public methods to access constants in
                    ValidatorResources
           Product: Commons
           Version: 1.2 Final
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: z2liu_work@yahoo.com


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org