public class XMLResponse extends OpenSearchResponse
containsInfo, isFirstPage, isLastPage, itemsPerPage, logger, nsPrefixes, queryBuilders, queryElements, response, startIndex, totalResults| Constructor and Description |
|---|
XMLResponse(InputStream in,
QueryElementFactory qElFactory,
QueryBuilder qb,
String encoding,
Map<String,String> nsPrefixes) |
containsPagingElements, createQueryBuilder, getItemsPerPage, getQueryBuilders, getResponse, getStartIndex, getTotalResults, isFirstPage, isLastPagepublic XMLResponse(InputStream in, QueryElementFactory qElFactory, QueryBuilder qb, String encoding, Map<String,String> nsPrefixes) throws Exception
in - The InputStream from which to read the responseqElFactory - The QueryElement factory that will be used to construct query element implementationsqb - A QueryBuilder that is to be further populated in case a query contained in a response query element is requestedencoding - The encoding to expectnsPrefixes - The mapping from namespace URIs to namespace prefixes for all namespaces contained in a description documentException - If an error occurs while parsing the responseCopyright © 2014. All Rights Reserved.