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

DataModelIndexSelector (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档


org.jboss.seam.databinding
Class DataModelIndexSelector

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

public class DataModelIndexSelector
extends Object
implements DataSelector<DataModelSelectionIndex,javax.faces.model.DataModel>

Extracts the selected "index" (the row index, or the key of a map) from a JSF DataModel.

Author:
Gavin King

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

Constructor Detail

DataModelIndexSelector

public DataModelIndexSelector()
Method Detail

getVariableName

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

getSelection

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