Yes. Velocity automatically converts .classStr to getClassStr(). See http://velocity.apache.org/engine/devel/user-guide.html , the Property Lookup part for reference.