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

Constructor Summary
HTMLResponse(java.io.InputStream in, java.lang.String encoding, java.util.Map<java.lang.String,java.lang.String> nsPrefixes)
          Creates a new HTMLResponse
 
Method Summary
 
Methods inherited from class org.gcube.opensearch.opensearchlibrary.responseelements.OpenSearchResponse
containsPagingElements, getItemsPerPage, getQueryBuilders, getResponse, getStartIndex, getTotalResults, isFirstPage, isLastPage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLResponse

public HTMLResponse(java.io.InputStream in,
                    java.lang.String encoding,
                    java.util.Map<java.lang.String,java.lang.String> nsPrefixes)
             throws java.lang.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:
java.lang.Exception - If an error occurs while parsing the response