com.madgag.guardian.contentapi.jaxb
Class SearchResponse

java.lang.Object
  extended by com.madgag.guardian.contentapi.ApiResponse<SearchRequest,SearchResponse>
      extended by com.madgag.guardian.contentapi.jaxb.SearchResponse

public class SearchResponse
extends ApiResponse<SearchRequest,SearchResponse>


Field Summary
 java.util.List<Content> contents
           
 int currentPage
           
static javax.xml.bind.JAXBContext JAXB_CONTEXT
           
 int pages
           
 int startIndex
           
 java.lang.String status
           
 int total
           
 
Constructor Summary
SearchResponse()
           
 
Method Summary
 java.util.Map<java.lang.String,Content> getContentById()
           
 boolean hasNext()
           
 SearchResponse next()
           
 
Methods inherited from class com.madgag.guardian.contentapi.ApiResponse
getOriginalRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXB_CONTEXT

public static final javax.xml.bind.JAXBContext JAXB_CONTEXT

status

public java.lang.String status

total

public int total

startIndex

public int startIndex

currentPage

public int currentPage

pages

public int pages

contents

public java.util.List<Content> contents
Constructor Detail

SearchResponse

public SearchResponse()
Method Detail

getContentById

public java.util.Map<java.lang.String,Content> getContentById()

next

public SearchResponse next()

hasNext

public boolean hasNext()


Copyright © 2010. All Rights Reserved.