站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 API 英文版文档

DataModelSelector (JBoss Seam API Documentation) - JBoss Seam 1.2.0 API 英文版文档


org.jboss.seam.databinding
Class DataModelSelector

java.lang.Object
  extended by org.jboss.seam.databinding.DataModelSelector
All Implemented Interfaces:
DataSelector<DataModelSelection,javax.faces.model.DataModel>

public class DataModelSelector
extends Object
implements DataSelector<DataModelSelection,javax.faces.model.DataModel>

Extracts the selected object (the element, or the value of a map) from a JSF DataModel.

Author:
Gavin King

Constructor Summary
DataModelSelector()
           
 
Method Summary
 Object getSelection(DataModelSelection in, javax.faces.model.DataModel wrapper)
           
 String getVariableName(DataModelSelection in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataModelSelector

public DataModelSelector()
Method Detail

getVariableName

public String getVariableName(DataModelSelection in)
Specified by:
getVariableName in interface DataSelector<DataModelSelection,javax.faces.model.DataModel>

getSelection

public Object getSelection(DataModelSelection in,
                           javax.faces.model.DataModel wrapper)
Specified by:
getSelection in interface DataSelector<DataModelSelection,javax.faces.model.DataModel>