org.gcube.data.oai.tmplugin.requests
Class WrapSetsRequest

java.lang.Object
  extended by org.gcube.data.oai.tmplugin.requests.Request
      extended by org.gcube.data.oai.tmplugin.requests.WrapSetsRequest

public class WrapSetsRequest
extends Request

A Request to bind the OAI Plugin to one or more sets of an OAI repository.

Author:
Fabio Simeoni

Constructor Summary
protected WrapSetsRequest()
           
  WrapSetsRequest(String url)
          Creates an instance with the URL of an OAI repository and a prefix for the names of the sets to use as the names of the corresponding sources.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.gcube.data.oai.tmplugin.requests.Request
addAlternativesXPath, addSets, contentXPath, getAlternativesXPath, getRepositoryUrl, getSets, setContentXPath, setTitleXPath, titleXPath
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapSetsRequest

protected WrapSetsRequest()

WrapSetsRequest

public WrapSetsRequest(String url)
                throws IllegalArgumentException
Creates an instance with the URL of an OAI repository and a prefix for the names of the sets to use as the names of the corresponding sources.

Parameters:
prefix - the prefix
url - the URL
Throws:
IllegalArgumentException - if the prefix is null or empty
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Request

equals

public boolean equals(Object obj)
Overrides:
equals in class Request


Copyright © 2013. All Rights Reserved.