Hi Hynek,

just instantiate them with the static factories: http://rifers.org/ docs/api/com/uwyn/rife/template/TemplateFactory.html

For example:
Template t = TemplateFactory.TXT.get("name");

Best regards,

Geert

On 21 Jul 2006, at 06:02, Hynek Schlawack wrote:

Hi,

I'm writing a Participant which is a TCP-socket interface to classes
that are interfaced by a ParticipantSite otherwise.

Now I'd like to use RIFE's templating too and need to know, which would
be the typical way to achieve this outside `Element's?

Frankly I'd like the `getTxtTemplate()' call inside of a
Participant...what's the best practice for this? Haven't found anything
useful in the docs concerning this.

TIA,
-hs
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to