[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-user
Subject:    Re: methods
From:       Jean Francois Chamard <jfchamard () interstructure ! ca>
Date:       2005-07-27 14:45:30
Message-ID: 42E79E0A.20208 () interstructure ! ca
[Download RAW message or body]

hi Chris,
All "public" methods available in Java are available in velocity ...
Just check your jdk javaDoc.

If you work with Strings in your context
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html
So, if you put an Int, Double, Date, etc. object in your context, all 
public methods from that object will be available

if you use the #set function, public methods with String, ArrayList and 
hashmap (velocity 1.5dev) will be available depending on your declaration.

Jeff

Townson, Chris wrote:

>Hi - is there documentation anywhere that specifically deals with "generic"
>methods (e.g. equals, equalsIgnoreCase, get, indexOf etc) available in VTL?
>
>thanks,
>
>Chris
>
>********************************************************************************   
>DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
>not the original intended recipient. If you have received this e-mail in error
>please inform the sender and delete it from your mailbox or any other storage
>mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
>liability for any statements made which are clearly the sender's own and not
>expressly made on behalf of Macmillan Publishers Limited or one of its agents.
>Please note that neither Macmillan Publishers Limited nor any of its agents
>accept any responsibility for viruses that may be contained in this e-mail or
>its attachments and it is your responsibility to scan the e-mail and 
>attachments (if any). No contracts may be concluded on behalf of Macmillan 
>Publishers Limited or its agents by means of e-mail communication. Macmillan 
>Publishers Limited Registered in England and Wales with registered number 785998 
>Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   
>********************************************************************************
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>  
>

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic