>I've visited your website, and I don't think I read something about
>"matchers". If "gemlet" is equivalent to "mailet", what is the like of
>"matcher" in Gem?
The native way of doing something in Gem is with Java. So you
can write a gemlet that does
if (X) {
execute("GemletX");
} else if (Y) {
execute("GemletY");
}
Or if you want to have Matchers, you write them and call them
however you like. I guess I could write an XMLGemlet that
reads XML. In that case I would probably have a group
of Gemlets that return Booleans. Maybe then the XML might
be:
<if>
<gemlet matcher="GemletMatchX">
GemletX
</gemlet>
<gemlet matcher=GemletMatchY>
GemletY
</gemlet>
</if>
or something. But for my purposes I havn't figured out why
that would be better than just writing the Java. But if someone
wants it, it would be just a matter of writing the Gemlet to do
that.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]