public class CswQueryResponseTransformer extends Object implements QueryResponseTransformer
QueryResponseTransformer for CSW 2.0.2 GetRecordsResponse| Modifier and Type | Field and Description |
|---|---|
static String |
NEXT_RECORD_ATTRIBUTE |
static String |
NUMBER_OF_RECORDS_MATCHED_ATTRIBUTE |
static String |
NUMBER_OF_RECORDS_RETURNED_ATTRIBUTE |
static String |
RECORD_BY_ID_RESPONSE_QNAME |
static String |
RECORDS_RESPONSE_QNAME |
static String |
SEARCH_RESULTS_QNAME |
static String |
SEARCH_STATUS_QNAME |
| Constructor and Description |
|---|
CswQueryResponseTransformer(TransformerManager metacardTransformerManager,
PrintWriterProvider writerProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init() |
BinaryContent |
transform(SourceResponse sourceResponse,
Map<String,Serializable> arguments)
Transforms the list of results into the
BinaryContent. |
public static final String NUMBER_OF_RECORDS_MATCHED_ATTRIBUTE
public static final String NEXT_RECORD_ATTRIBUTE
public static final String RECORDS_RESPONSE_QNAME
public static final String RECORD_BY_ID_RESPONSE_QNAME
public static final String SEARCH_STATUS_QNAME
public static final String SEARCH_RESULTS_QNAME
public static final String NUMBER_OF_RECORDS_RETURNED_ATTRIBUTE
public CswQueryResponseTransformer(TransformerManager metacardTransformerManager, PrintWriterProvider writerProvider)
public BinaryContent transform(SourceResponse sourceResponse, Map<String,Serializable> arguments) throws CatalogTransformerException
QueryResponseTransformerBinaryContent.transform in interface QueryResponseTransformerarguments - the arguments that may be used to execute the transformCatalogTransformerException - if the response cannot be transformedpublic void init()
public void destroy()
This work is licensed under a Creative Commons Attribution 4.0 International License.