net.sf.zekr.engine.page
Class CustomPagingData
java.lang.Object
net.sf.zekr.engine.common.LocalizedResource
net.sf.zekr.engine.page.AbstractQuranPagingData
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
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
void |
load()
|
void |
setId(java.lang.String id)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
file
public java.io.File file
CustomPagingData
public CustomPagingData()
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