net.sf.zekr.engine.page
Class CustomPagingData

java.lang.Object
  extended by net.sf.zekr.engine.common.LocalizedResource
      extended by net.sf.zekr.engine.page.AbstractQuranPagingData
          extended by net.sf.zekr.engine.page.CustomPagingData
All Implemented Interfaces:
IPagingData

public class CustomPagingData
extends AbstractQuranPagingData
implements IPagingData

Custom paging data loaded from a .page.xml file.

This file corresponds to a single .page.xml which is a Quran paging schema containing from-to pair of informations for each page of the Quran.

Author:
Mohsen Saboorian

Field Summary
 java.io.File file
           
 
Fields inherited from class net.sf.zekr.engine.page.AbstractQuranPagingData
id, name, pageList
 
Fields inherited from class net.sf.zekr.engine.common.LocalizedResource
names
 
Constructor Summary
CustomPagingData()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void load()
           
 void setId(java.lang.String id)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.zekr.engine.page.AbstractQuranPagingData
getContainerPage, getId, getName, getPageList, getQuranPage, meaning, size
 
Methods inherited from class net.sf.zekr.engine.common.LocalizedResource
getLocalizedName, getName, getNames
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.zekr.engine.page.IPagingData
getContainerPage, getId, getName, getPageList, getQuranPage, size
 

Field Detail

file

public java.io.File file
Constructor Detail

CustomPagingData

public CustomPagingData()
Method Detail

setId

public void setId(java.lang.String id)

load

public void load()
          throws PagingException
Specified by:
load in interface IPagingData
Overrides:
load in class AbstractQuranPagingData
Throws:
PagingException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
true if obj.id equals with this.id, or false if either of IDs are null, or obj is not instance of CustomPagingData

toString

public java.lang.String toString()
Overrides:
toString in class AbstractQuranPagingData