facebook4j.internal.json
Class PagingJSONImpl<T>

java.lang.Object
  extended by facebook4j.internal.json.PagingJSONImpl<T>
All Implemented Interfaces:
Paging<T>, java.io.Serializable

final class PagingJSONImpl<T>
extends java.lang.Object
implements Paging<T>, java.io.Serializable

Author:
Ryuji Yamashita - roundrop at gmail.com

Nested Class Summary
private  class PagingJSONImpl.CursorsJSONImpl
           
 
Nested classes/interfaces inherited from interface facebook4j.Paging
Paging.Cursors
 
Field Summary
private  Paging.Cursors cursors
           
private  java.lang.Class<?> jsonObjectType
           
private  java.net.URL next
           
private  java.net.URL previous
           
private static long serialVersionUID
           
 
Constructor Summary
PagingJSONImpl(JSONObject json, java.lang.Class<?> type)
           
 
Method Summary
 Paging.Cursors getCursors()
           
 java.lang.Class<?> getJSONObjectType()
           
 java.net.URL getNext()
           
 java.net.URL getPrevious()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

jsonObjectType

private final java.lang.Class<?> jsonObjectType

cursors

private final Paging.Cursors cursors

previous

private final java.net.URL previous

next

private final java.net.URL next
Constructor Detail

PagingJSONImpl

PagingJSONImpl(JSONObject json,
               java.lang.Class<?> type)
         throws FacebookException
Throws:
FacebookException
Method Detail

getJSONObjectType

public java.lang.Class<?> getJSONObjectType()
Specified by:
getJSONObjectType in interface Paging<T>

getPrevious

public java.net.URL getPrevious()
Specified by:
getPrevious in interface Paging<T>

getNext

public java.net.URL getNext()
Specified by:
getNext in interface Paging<T>

getCursors

public Paging.Cursors getCursors()
Specified by:
getCursors in interface Paging<T>

toString

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