velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <>
Subject Re: instanceof
Date Mon, 11 Apr 2005 16:52:45 GMT
Hi Ross,

> Does anyone know of a way to do instanceof checks from VTL? At the
> moment I'm providing a simple isA method on objects, but I am thinking
> there must be another way...
> The isA method works, but (at the moment) only checks the actual
> classname (not superclasses). Before I go about working this out, I just
> wondered if I had missed something crucial ... ?

None in Velocity, but I'll bet you can make a tool that does that.  ;)

Best regards,
-- Shinobu

Shinobu Kawai <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message