Stellent
HowToComponents
JavaDoc

intradoc.shared
Class ComponentClassFactory

java.lang.Object
  |
  +--intradoc.data.DataResultSet
        |
        +--intradoc.shared.ComponentClassFactory
All Implemented Interfaces:
ResultSet

public class ComponentClassFactory
extends DataResultSet


Field Summary
static java.util.Hashtable m_classes
           
static java.util.Hashtable m_classObjects
          To get around a bug in the SUN VM, we can only load a class once.
 java.lang.String m_tableName
           
 
Fields inherited from class intradoc.data.DataResultSet
m_copyAborted, m_currentRow, m_dateFormat, m_fieldList, m_fieldMapping, m_isMutable, m_numRows, m_values
 
Constructor Summary
ComponentClassFactory()
           
ComponentClassFactory(java.lang.String tableName)
           
 
Method Summary
static java.lang.Object createClassInstance(java.lang.String className, java.lang.String defaultLocation, java.lang.String message)
           
 java.lang.String getTableName()
           
 void initShallow(DataResultSet rset)
          Makes a shallow copy of one data result set into another.
 void loadClasses(DataBinder binder)
           
 DataResultSet shallowClone()
          Creates a shallow clone of the result set.
 
Methods inherited from class intradoc.data.DataResultSet
addRow, appendFields, closeInternals, copy, copy, copyEx, copyFieldInfo, copyFiltered, copyFilteredEx, copySimpleFiltered, createEmptyRow, createMaxNumResultSetFilter, createRow, createSimpleResultSetFilter, deleteCurrentRow, deleteRow, findRow, first, getCurrentRow, getCurrentRowProps, getCurrentRowValues, getDateFormat, getDateValue, getFieldInfo, getFieldName, getIndexFieldInfo, getNumFields, getNumRows, getResultSetValues, getResultSetValuesEx, getRowValues, getStringValue, getWorkspace, hasRawObjects, init, init, initEx, insertRowAt, isCopyAborted, isEmpty, isMutable, isRowPresent, last, merge, mergeDelete, mergeFields, next, previous, readHeader, readSimple, removeAll, removeFields, renameField, reset, setCurrentRow, setCurrentValue, setDateFormat, setRowValues, skip, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_classes

public static java.util.Hashtable m_classes

m_classObjects

public static java.util.Hashtable m_classObjects
To get around a bug in the SUN VM, we can only load a class once. We cache the class objects in this hashtable so that we can create new instances of a the same class object.


m_tableName

public java.lang.String m_tableName
Constructor Detail

ComponentClassFactory

public ComponentClassFactory()

ComponentClassFactory

public ComponentClassFactory(java.lang.String tableName)
Method Detail

shallowClone

public DataResultSet shallowClone()
Description copied from class: DataResultSet
Creates a shallow clone of the result set.

Overrides:
shallowClone in class DataResultSet

initShallow

public void initShallow(DataResultSet rset)
Description copied from class: DataResultSet
Makes a shallow copy of one data result set into another. In particular, this result set can have an independent iterator and can be independently sorted. But field listings and actual values should will changed the values of the shared copy.

Overrides:
initShallow in class DataResultSet

loadClasses

public void loadClasses(DataBinder binder)
                 throws DataException
DataException

createClassInstance

public static java.lang.Object createClassInstance(java.lang.String className,
                                                   java.lang.String defaultLocation,
                                                   java.lang.String message)
                                            throws ServiceException
ServiceException

getTableName

public java.lang.String getTableName()


(c) 1996-2005  All rights reserved.  Stellent, Inc.