Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.databinding
Class DataModelIndexSelector

    java.lang.Object
      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>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD