org.jboss.seam.rest.templating
Class TemplatingModel

java.lang.Object
  extended by org.jboss.seam.rest.templating.TemplatingModel

@RequestScoped
public class TemplatingModel
extends Object

Holds objects used for rendering. Populate the underlying data map with objects to be accessible within a template.

Author:
Jozef Hartinger

Constructor Summary
TemplatingModel()
           
 
Method Summary
 Map<String,Object> getData()
          Returns the underlying map of objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplatingModel

public TemplatingModel()
Method Detail

getData

public Map<String,Object> getData()
Returns the underlying map of objects. The objects can be referenced within a template by their names (map keys).

Returns:


Copyright © 2011 Seam Framework. All Rights Reserved.