org.gcube.opensearch.opensearchlibrary.responseelements
Class HTMLResponse

java.lang.Object
  extended by org.gcube.opensearch.opensearchlibrary.responseelements.OpenSearchResponse
      extended by org.gcube.opensearch.opensearchlibrary.responseelements.HTMLResponse

public class HTMLResponse
extends OpenSearchResponse

Class implementing an OpenSearch HTML response

Author:
gerasimos.farantatos

Field Summary
 
Fields inherited from class org.gcube.opensearch.opensearchlibrary.responseelements.OpenSearchResponse
containsInfo, isFirstPage, isLastPage, itemsPerPage, logger, nsPrefixes, queryBuilders, queryElements, response, startIndex, totalResults
 
Constructor Summary
HTMLResponse(InputStream in, String encoding, Map<String,String> nsPrefixes)
          Creates a new HTMLResponse
 
Method Summary
 
Methods inherited from class org.gcube.opensearch.opensearchlibrary.responseelements.OpenSearchResponse
containsPagingElements, createQueryBuilder, getItemsPerPage, getQueryBuilders, getResponse, getStartIndex, getTotalResults, isFirstPage, isLastPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLResponse

public HTMLResponse(InputStream in,
                    String encoding,
                    Map<String,String> nsPrefixes)
             throws Exception
Creates a new HTMLResponse

Parameters:
in - The InputStream from which to read the response
encoding - The encoding to expect
nsPrefixes - The mapping from namespace URIs to namespace prefixes for all namespaces contained in a description document
Throws:
Exception - If an error occurs while parsing the response


Copyright © 2013. All Rights Reserved.