com.raritantechnologies.verity
Class MaxDocCountTable

java.lang.Object
  extended bycom.raritantechnologies.verity.MaxDocCountTable
All Implemented Interfaces:
ISetMaxDocCount

public class MaxDocCountTable
extends java.lang.Object
implements ISetMaxDocCount

Sets up a table of page size vs. MaxDocCount

XML Configuration Template:
 <MaxDocCount class="com.raritantechnologies.verity.MaxDocCountTable" 
     maxMax="100000" >

    <Page size="10" maxDocCount="500" >
    <Page size="500" maxDocCount="20000" >

 </MaxDocCount>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
MaxDocCountTable()
           
 
Method Summary
 int getMaxDocCount(int pageSize, int startRec)
           
 void initialize(org.w3c.dom.Element elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxDocCountTable

public MaxDocCountTable()
Method Detail

initialize

public void initialize(org.w3c.dom.Element elem)
Specified by:
initialize in interface ISetMaxDocCount

getMaxDocCount

public int getMaxDocCount(int pageSize,
                          int startRec)
Specified by:
getMaxDocCount in interface ISetMaxDocCount