drcallaway / regexml

Java library for writing regular expressions in XML
0 stars 0 forks source link

Suggestion: Make it extendable #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using your library I missed a simple function which would return a set of names 
of all expressions found in a regeXML file.
I tried to extend ExpressionFactory adding a getPatterns() method. 
Unfortunately, this didn't work because ExpressionFactory.expressionMap is 
private.
I really think that making some fields protected could be a good idea.

Original issue reported on code.google.com by sbo...@gmail.com on 24 Jun 2010 at 7:56

GoogleCodeExporter commented 8 years ago
That's a great suggestion. I'll look into opening up the library more for 
extension.

Original comment by drcalla...@gmail.com on 13 Jul 2010 at 3:14