public interface OAIRequest extends OAIObject
OAIObject.Node
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_NAME_GRANULARITY |
static java.lang.String |
PARAM_NAME_USE_OAI_LAST_HARVEST_DATE |
static java.lang.String |
URL_CHARACTER_AMPERSAND |
static java.lang.String |
URL_CHARACTER_EQUALS |
static java.lang.String |
URL_CHARACTER_QUESTION_MARK |
static java.lang.String |
URL_PARAM_NAME_FROM |
static java.lang.String |
URL_PARAM_NAME_IDENTIFIER |
static java.lang.String |
URL_PARAM_NAME_METADATA_PREFIX |
static java.lang.String |
URL_PARAM_NAME_RESUMPTION_TOKEN |
static java.lang.String |
URL_PARAM_NAME_SET |
static java.lang.String |
URL_PARAM_NAME_UNTIL |
static java.lang.String |
URL_PARAM_NAME_VERB |
static int |
VERB_GET_RECORD |
static int |
VERB_IDENTIFY |
static int |
VERB_LIST_IDENTIFIERS |
static int |
VERB_LIST_METADATA_FORMATS |
static int |
VERB_LIST_RECORDS |
static int |
VERB_LIST_SETS |
static java.lang.String |
VERB_STRING_GET_RECORD |
static java.lang.String |
VERB_STRING_IDENTIFY |
static java.lang.String |
VERB_STRING_LIST_IDENTIFIERS |
static java.lang.String |
VERB_STRING_LIST_METADATA_FORMATS |
static java.lang.String |
VERB_STRING_LIST_RECORDS |
static java.lang.String |
VERB_STRING_LIST_SETS |
static int |
VERB_UNKNOWN |
static java.lang.String |
verbId |
HTTP_HEADER_NAME_FROM, HTTP_HEADER_NAME_USER_AGENT, NUMBER_RECORDS_PER_RESPONSE, STRING_DATEFORMAT_GRANULARITY_DAY, STRING_DATEFORMAT_GRANULARITY_SECOND
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFrom()
Gets the parameter of the request
|
java.lang.String |
getGranularity()
Gets the parameter of the request
|
java.lang.String |
getIdentifier()
Gets the parameter of the request
|
java.lang.String |
getMetadataPrefix()
Gets the parameter of the request
|
java.lang.String |
getRepositoryURL()
Gets the repository url of this request
|
org.apache.cocoon.environment.Request |
getRequest()
Gets the request
|
java.lang.String |
getRequestURL()
Gets the url of this request
|
java.lang.String |
getResumptionToken()
Sets the parameters of the request
|
java.lang.String |
getSetIdentifier()
Gets the parameter of the request
|
java.lang.String |
getUntil()
Gets the parameter of the request
|
boolean |
getUseLastHarvestDate()
Gets the parameter of the request
|
int |
getVerb()
Gets the verb int value
|
java.lang.String |
getVerbId()
Gets the verb int value
|
java.lang.String |
getVerbString()
Returns the the verb name
|
void |
setFrom(java.lang.String fromDate)
Sets the parameter of the request
|
void |
setGranularity(java.lang.String granularity)
Sets the parameter of the request
|
void |
setIdentifier(java.lang.String identifier)
Sets the parameter of the request
|
void |
setMetadataPrefix(java.lang.String metadataPrefix)
Sets the parameter of the request
|
void |
setRepositoryURL(java.lang.String url)
Sets the repository url of this request
|
void |
setRequest(org.apache.cocoon.environment.Request coocoonRequest)
Sets the request
|
void |
setRequestURL(java.lang.String url)
Sets the url of this request
|
void |
setResumptionToken(java.lang.String resumptionToken)
Sets the parameter of the request
|
void |
setSetIdentifier(java.lang.String setIdentifier)
Sets the parameter of the request
|
void |
setUntil(java.lang.String untilDate)
Sets the parameter of the request
|
void |
setUseLastHarvestDate(boolean useLastHarvestDate)
Sets the parameter of the request
|
void |
setVerb(int verb)
Sets the verb int value
|
void |
setVerbId(java.lang.String verbId)
Sets the verb int value
|
void |
setVerbString(java.lang.String verbString)
Set's the the verb name
|
void |
toSAX(org.xml.sax.ContentHandler handler,
boolean sendRequestParams)
Sends the appropriate SAX event reprensentation
of the request for an oai response to the
provide handler
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
static final int VERB_UNKNOWN
static final int VERB_IDENTIFY
static final java.lang.String VERB_STRING_IDENTIFY
static final int VERB_LIST_SETS
static final java.lang.String VERB_STRING_LIST_SETS
static final int VERB_LIST_METADATA_FORMATS
static final java.lang.String VERB_STRING_LIST_METADATA_FORMATS
static final int VERB_LIST_IDENTIFIERS
static final java.lang.String VERB_STRING_LIST_IDENTIFIERS
static final int VERB_LIST_RECORDS
static final java.lang.String VERB_STRING_LIST_RECORDS
static final int VERB_GET_RECORD
static final java.lang.String VERB_STRING_GET_RECORD
static final java.lang.String verbId
static final java.lang.String PARAM_NAME_USE_OAI_LAST_HARVEST_DATE
static final java.lang.String PARAM_NAME_GRANULARITY
static final java.lang.String URL_CHARACTER_QUESTION_MARK
static final java.lang.String URL_CHARACTER_AMPERSAND
static final java.lang.String URL_CHARACTER_EQUALS
static final java.lang.String URL_PARAM_NAME_VERB
static final java.lang.String URL_PARAM_NAME_IDENTIFIER
static final java.lang.String URL_PARAM_NAME_FROM
static final java.lang.String URL_PARAM_NAME_UNTIL
static final java.lang.String URL_PARAM_NAME_SET
static final java.lang.String URL_PARAM_NAME_METADATA_PREFIX
static final java.lang.String URL_PARAM_NAME_RESUMPTION_TOKEN
void setRepositoryURL(java.lang.String url)
java.lang.String getRepositoryURL()
void setRequestURL(java.lang.String url)
java.lang.String getRequestURL()
void setRequest(org.apache.cocoon.environment.Request coocoonRequest)
org.apache.cocoon.environment.Request getRequest()
void setVerb(int verb)
int getVerb()
void setVerbId(java.lang.String verbId)
java.lang.String getVerbId()
java.lang.String getIdentifier()
void setIdentifier(java.lang.String identifier)
java.lang.String getMetadataPrefix()
void setMetadataPrefix(java.lang.String metadataPrefix)
boolean getUseLastHarvestDate()
void setUseLastHarvestDate(boolean useLastHarvestDate)
java.lang.String getGranularity()
void setGranularity(java.lang.String granularity)
java.lang.String getFrom()
void setFrom(java.lang.String fromDate)
java.lang.String getUntil()
void setUntil(java.lang.String untilDate)
java.lang.String getSetIdentifier()
void setSetIdentifier(java.lang.String setIdentifier)
java.lang.String getResumptionToken()
void setResumptionToken(java.lang.String resumptionToken)
java.lang.String getVerbString()
void setVerbString(java.lang.String verbString)
void toSAX(org.xml.sax.ContentHandler handler, boolean sendRequestParams) throws org.xml.sax.SAXException
handler
- The handler to feedsendRequestParams
- Whether or not the request params should be sent as attributes (according to error state)org.xml.sax.SAXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.