Issue Details (XML | Word | Printable)

Key: QDOX-44
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mike Williams
Reporter: Jim Cook
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QDox

Expose the NamedParameter map via a public accessor

Created: 20/Feb/04 05:24 PM   Updated: 04/Aug/04 09:00 AM   Resolved: 21/Feb/04 06:38 AM
Component/s: Java API
Affects Version/s: 1.3
Fix Version/s: 1.4

Time Tracking:
Not Specified


 Description  « Hide

The DocletTag interface exposes the parameters for an entity, but not the namedParameter map:

String[] getParameters();

The interface allows access to the parameters, as long as you know its name:

String getNamedParameter(String key);

It would be useful to expose the namedParameter map in the interface as well so developers that want to abstract qdox don't have to recreate the map themselves:

Map getNamedParameterMap();



Mike Williams added a comment - 21/Feb/04 12:44 AM

Sounds like a good idea to me.

Any objections?


Mike Williams added a comment - 21/Feb/04 06:38 AM

Done.

This is a change to the DocletTag interface, so there's a chance that existing user code may need to change. However, I suspect that most DocletTag implentations will extend DefaultDocletTag; XDoclet's does, anyway.


Mike Williams added a comment - 04/Aug/04 09:00 AM

Close old resolved issues.