|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageRange
A page range. A page range specifies a range of records starting from the First
record index and ending at the Last
record index time.
Instances of Page Range objects can be created using the following factory style method(s).
PageRange object = createPageRange
(
first,
last);
Page Range instances can be serialized as an XML document. This XML document can also be used to recreate a Page Range object. The following XML document shows an example Page Range in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:PageRange xmlns:core="http://xmlns.oracle.com/irm/core">
<first>20</first>
<last>40</last>
</core:PageRange>
Method Summary | |
---|---|
int |
getFirst() First record index. |
int |
getLast() Last record index. |
Method Detail |
---|
int getFirst()
int getLast()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |