Closed GoogleCodeExporter closed 9 years ago
What's missing here is mostly documentation. At the top, before <schema>, you
can declare configurated objects, like so:
<object class="no.priv.garshol.duke.comparators.NumericComparator"
name="AreaComparator">
<param name="min-ratio" value="0.7"/>
</object>
You can then refer to the name of the object instead of the name of the class
in the cleaner attribute.
The currently supported parameter types are: integer, boolean, double and
string. If you need more, let me know.
I'm leaving this issue open to remind myself to document this properly.
Original comment by lar...@gmail.com
on 5 Jan 2012 at 10:52
Thanks, this works. Excellent. No need for anything else than the supported
parameter types.
Original comment by mortenj...@gmail.com
on 5 Jan 2012 at 1:19
This has now been documented properly in the wiki.
Original comment by lar...@gmail.com
on 7 Jan 2012 at 4:15
Original issue reported on code.google.com by
mortenj...@gmail.com
on 5 Jan 2012 at 10:25