velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Bamford <r...@roscopec0.f9.co.uk>
Subject instanceof
Date Mon, 11 Apr 2005 14:58:17 GMT
Hi all,

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 ... ?

Cheers,
Ross

-- 
    [Ross A. Bamford]      [ross@roscopec0.f9.co.uk]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@roscopec0.f9.co.uk


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message