BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags.databinding.grid.datacontext
Class EmptyDataContext

java.lang.Object
  extended by com.bea.wlw.netui.tags.databinding.grid.datacontext.DataContext
      extended by com.bea.wlw.netui.tags.databinding.grid.datacontext.EmptyDataContext

public final class EmptyDataContext
extends DataContext

A final class that is the default DataContext in a GridContext; it allows clients to interact with a GridContext when the DataContext has not been initialized because of an error or an exception.


Nested Class Summary
 class EmptyDataContext.EmptyDataContextItemMetadata
           
 
Nested classes/interfaces inherited from class com.bea.wlw.netui.tags.databinding.grid.datacontext.DataContext
DataContext.DataContextItemMetadata, DataContext.RowIdentifierItem
 
Field Summary
 
Fields inherited from class com.bea.wlw.netui.tags.databinding.grid.datacontext.DataContext
EMPTY_STRING
 
Constructor Summary
EmptyDataContext()
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int index)
           
 int getColumnType(int index)
           
 int getColumnType(String name)
           
 Object getColumnValue(int index)
           
 Object getColumnValue(String name)
           
 int getCurrentIndex()
           
 Object getCurrentItem()
           
 DataContext.DataContextItemMetadata getCurrentMetadata()
           
 String getCurrentUniqueIdentifier()
           
 boolean hasNext()
           
 Object next()
           
 void setIterationRange(int start, int end)
           
 int size()
           
 Object unwrap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyDataContext

public EmptyDataContext()
Method Detail

getColumnType

public int getColumnType(int index)
Specified by:
getColumnType in class DataContext

getColumnType

public int getColumnType(String name)
Specified by:
getColumnType in class DataContext

getColumnName

public String getColumnName(int index)
Specified by:
getColumnName in class DataContext

getColumnValue

public Object getColumnValue(int index)
Specified by:
getColumnValue in class DataContext

getColumnValue

public Object getColumnValue(String name)
Specified by:
getColumnValue in class DataContext

getCurrentUniqueIdentifier

public String getCurrentUniqueIdentifier()

getCurrentItem

public Object getCurrentItem()
Specified by:
getCurrentItem in class DataContext

getCurrentIndex

public int getCurrentIndex()
Specified by:
getCurrentIndex in class DataContext

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in class DataContext

next

public Object next()
Specified by:
next in class DataContext

hasNext

public boolean hasNext()
Specified by:
hasNext in class DataContext

unwrap

public Object unwrap()
Specified by:
unwrap in class DataContext

size

public int size()
Specified by:
size in class DataContext

setIterationRange

public void setIterationRange(int start,
                              int end)
Specified by:
setIterationRange in class DataContext

getCurrentMetadata

public DataContext.DataContextItemMetadata getCurrentMetadata()
Specified by:
getCurrentMetadata in class DataContext

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.