A B C D E F G H I L M N P Q R S T U W X

A

actionkey - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
Properties to be filled by Struts with according request-parameters
Admin - Class in eu.clarin.cmdi.mdservice.action
Helper class, main-class to run as command-line java-app for testing
Admin() - Constructor for class eu.clarin.cmdi.mdservice.action.Admin
 

B

base_url - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 

C

Cache - Class in eu.clarin.cmdi.mdservice.action
This is a rudimentary caching mechanism.
Cache() - Constructor for class eu.clarin.cmdi.mdservice.action.Cache
 
cachecounter - Variable in class eu.clarin.cmdi.mdservice.action.Cache
 
cachepath - Variable in class eu.clarin.cmdi.mdservice.action.Cache
 
collection - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
collection - Variable in class eu.clarin.cmdi.mdservice.model.Query
temporary default;
COLLECTIONS - Static variable in class eu.clarin.cmdi.mdservice.model.Query
 
compid - Variable in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
CompRegistryProxyAction - Class in eu.clarin.cmdi.mdservice.action
Acts as a Struts 2 controller serves the requests regarding Components it passes them further (Proxy) to the ComponentRegistry.
CompRegistryProxyAction() - Constructor for class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
config - Static variable in class eu.clarin.cmdi.mdservice.action.Admin
 
config_path - Static variable in class eu.clarin.cmdi.mdservice.action.Admin
 
copy(InputStream, OutputStream) - Static method in class eu.clarin.cmdi.mdservice.action.Helpers
 
copyStreams(InputStream, OutputStream) - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 

D

DCRProxyAction - Class in eu.clarin.cmdi.mdservice.action
Acts as a Struts 2 controller serves the requests regarding DataCategories it passes them further (Proxy) to the Data Category Registry.
DCRProxyAction() - Constructor for class eu.clarin.cmdi.mdservice.action.DCRProxyAction
 

E

eu.clarin.cmdi.mdservice.action - package eu.clarin.cmdi.mdservice.action
 
eu.clarin.cmdi.mdservice.model - package eu.clarin.cmdi.mdservice.model
 
execute() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
default Action method

F

finalize() - Method in class eu.clarin.cmdi.mdservice.action.Cache
 
format - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
formPath(String) - Method in class eu.clarin.cmdi.mdservice.action.Cache
 

G

GenericProxyAction - Class in eu.clarin.cmdi.mdservice.action
main Struts 2 controller responds to requests (collections, model, recordset) by dispatching the requests to appropriate internal methods and filling the inputStream with the result
GenericProxyAction() - Constructor for class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getActionkey() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getBaseURL() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getCache() - Static method in class eu.clarin.cmdi.mdservice.action.Cache
 
getCollection() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getCollection() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getCompid() - Method in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
getConfig() - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 
getCounter() - Method in class eu.clarin.cmdi.mdservice.action.Cache
 
getFormat() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getFromCache(String) - Method in class eu.clarin.cmdi.mdservice.action.Cache
 
getFullFormat() - Method in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
getFullFormat() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getHeader() - Method in class eu.clarin.cmdi.mdservice.model.Result
a stub for a header to be returned with every result not used yet
getMaxdepth() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getMaxdepth() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getMDTransformer() - Static method in class eu.clarin.cmdi.mdservice.action.MDTransformer
 
getMsg() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getProxyKey() - Method in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
getProxyKey() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
primitive identification of the target-proxy base for finding the right base_url in the props subclass has to override with its specific proxykey
getProxyKey() - Method in class eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
 
getQ() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getQueryString() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getRequestKey() - Method in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
getRequestKey() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getResult() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getResultStream() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
The stream holding the resulting data to be sent back to the user as response
getResultStream(String) - Method in class eu.clarin.cmdi.mdservice.model.Result
this is the main method to get the formatted-result precondition: the rawresult already arrived, ie parentQuery.execute() already issued
getResultStream() - Method in class eu.clarin.cmdi.mdservice.model.Result
without format-parameter, you get the raw-data-stream (XML?)
getResultStream(String, InputStream) - Method in class eu.clarin.cmdi.mdservice.model.Result
 
getStatus() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getTargetRequest() - Method in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
uses base_url and (optionally) compid to form a url no compid => list all components/profiles
getTargetRequest() - Method in class eu.clarin.cmdi.mdservice.action.DCRProxyAction
uses base_url and (optionally) id to form a url no id => ?
getTargetRequest() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getTargetRequest() - Method in class eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
uses base_url + url_pattern (parametrized by actionkey) to form a url
getType() - Method in class eu.clarin.cmdi.mdservice.model.Query
 
getUserMsg() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
getXSLPath(String) - Method in class eu.clarin.cmdi.mdservice.action.MDTransformer
get the path to the transform-xsl file from properties, based on the key
getXSLStreamSource(String) - Method in class eu.clarin.cmdi.mdservice.action.MDTransformer
 

H

Helpers - Class in eu.clarin.cmdi.mdservice.action
 
Helpers() - Constructor for class eu.clarin.cmdi.mdservice.action.Helpers
 
HTML - Static variable in class eu.clarin.cmdi.mdservice.model.Result
 
HTMLSNIPPET - Static variable in class eu.clarin.cmdi.mdservice.model.Result
 

I

initCachecounter() - Method in class eu.clarin.cmdi.mdservice.action.Cache
read counter-integer from file in cache or start that file
isStatus(String) - Method in class eu.clarin.cmdi.mdservice.model.Query
 

L

loadConfig() - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 
loadConfig(String) - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 
log - Static variable in class eu.clarin.cmdi.mdservice.action.Helpers
 

M

main(String[]) - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 
maxdepth - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
maxdepth - Variable in class eu.clarin.cmdi.mdservice.model.Query
 
MDRepoProxyAction - Class in eu.clarin.cmdi.mdservice.action
Main Struts 2 controller responds to requests (collections, model, recordset) by dispatching the requests to appropriate internal methods and filling the inputStream with the result
MDRepoProxyAction() - Constructor for class eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
 
MDTransformer - Class in eu.clarin.cmdi.mdservice.action
Helper class, encapsulating the xsl-transformations handling the contract is, that the requester passes a key, which can be resolved to a xsl-script (momentary mapped in properties: Admin.getConfig()) Bad things happen, if the key or the appropriate xsl-file do not exist
MDTransformer() - Constructor for class eu.clarin.cmdi.mdservice.action.MDTransformer
 
MODEL - Static variable in class eu.clarin.cmdi.mdservice.model.Query
 
msg - Variable in class eu.clarin.cmdi.mdservice.model.Query
 

N

notifyUser(String) - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 
notifyUser(String) - Static method in class eu.clarin.cmdi.mdservice.action.Helpers
 

P

parentQuery - Variable in class eu.clarin.cmdi.mdservice.model.Result
 
parse() - Method in class eu.clarin.cmdi.mdservice.model.Query
tries to parse the query_string according the CQL-syntax if successful returns the root-node of the parse-tree
PARSED - Static variable in class eu.clarin.cmdi.mdservice.model.Query
 
PARSEERROR - Static variable in class eu.clarin.cmdi.mdservice.model.Query
 
PREFIX - Static variable in class eu.clarin.cmdi.mdservice.action.Cache
 
prepare() - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
proxy_key - Variable in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
proxy_key - Variable in class eu.clarin.cmdi.mdservice.action.DCRProxyAction
 
proxy_key - Variable in class eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
 
putInCache(String, InputStream) - Method in class eu.clarin.cmdi.mdservice.action.Cache
here the external key for the data gets cache-internal counter-id assigned which is also returned back can be used (as shorthand instead of the (long) external key) from outside to retrieve the data.

Q

q - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
Query - Class in eu.clarin.cmdi.mdservice.model
 
Query(String) - Constructor for class eu.clarin.cmdi.mdservice.model.Query
 
Query(String, String, String) - Constructor for class eu.clarin.cmdi.mdservice.model.Query
main constructor, with user's querystring and type of the query, and context-collection (at the moment just one)
Query(String, String) - Constructor for class eu.clarin.cmdi.mdservice.model.Query
another constructor, with user's querystring and type of the query; problematic not setting the collection!
query_cql - Variable in class eu.clarin.cmdi.mdservice.model.Query
 
query_string - Variable in class eu.clarin.cmdi.mdservice.model.Query
 
QuerySet - Class in eu.clarin.cmdi.mdservice.model
Stub for a Class for handling/managing multiple queries
QuerySet(Collection<Query>) - Constructor for class eu.clarin.cmdi.mdservice.model.QuerySet
 

R

rawresult - Variable in class eu.clarin.cmdi.mdservice.model.Result
holds the stream receiving data from the provider (MDRepository...)
readFSLS(String) - Static method in class eu.clarin.cmdi.mdservice.action.Helpers
 
RECORDSET - Static variable in class eu.clarin.cmdi.mdservice.model.Query
 
result - Variable in class eu.clarin.cmdi.mdservice.model.Query
reference to the result-object
Result - Class in eu.clarin.cmdi.mdservice.model
Currently not used!
Result(Query) - Constructor for class eu.clarin.cmdi.mdservice.model.Result
 
resultStream - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 

S

serialVersionUID - Static variable in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
serialVersionUID - Static variable in class eu.clarin.cmdi.mdservice.action.DCRProxyAction
 
serialVersionUID - Static variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
serialVersionUID - Static variable in class eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
 
serialVersionUID - Static variable in class eu.clarin.cmdi.mdservice.model.QuerySet
 
setActionkey(String) - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
setCollection(String) - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
setCollection(String) - Method in class eu.clarin.cmdi.mdservice.model.Query
 
setCompid(String) - Method in class eu.clarin.cmdi.mdservice.action.CompRegistryProxyAction
 
setFormat(String) - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
setInputStream(InputStream) - Method in class eu.clarin.cmdi.mdservice.model.Result
 
setMaxdepth(int) - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
setMaxdepth(int) - Method in class eu.clarin.cmdi.mdservice.model.Query
 
setMsg(String) - Method in class eu.clarin.cmdi.mdservice.model.Query
 
setQ(String) - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
setQueryString(String) - Method in class eu.clarin.cmdi.mdservice.model.Query
 
setResult(Result) - Method in class eu.clarin.cmdi.mdservice.model.Query
 
setType(String) - Method in class eu.clarin.cmdi.mdservice.model.Query
 
setUserMsg(String) - Method in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
singleton - Static variable in class eu.clarin.cmdi.mdservice.action.Cache
 
singleton - Static variable in class eu.clarin.cmdi.mdservice.action.MDTransformer
 
sourceStream - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 
srcFile - Variable in class eu.clarin.cmdi.mdservice.action.MDTransformer
 
start_cache - Static variable in class eu.clarin.cmdi.mdservice.action.Cache
 
syntax - Variable in class eu.clarin.cmdi.mdservice.model.Query
 

T

target - Variable in class eu.clarin.cmdi.mdservice.model.Query
meant a target url/service, allowing querying different services on per query basis not used yet
targetRequest - Variable in class eu.clarin.cmdi.mdservice.model.Query
 
tfactory - Variable in class eu.clarin.cmdi.mdservice.action.MDTransformer
 
toCMDIndex() - Method in class eu.clarin.cmdi.mdservice.model.Query
if the query is just a path-like structure "transforms" to cmdIndex-format, means replace('
toURLParam() - Method in class eu.clarin.cmdi.mdservice.model.Query
construct the URL-Param
toXCQL() - Method in class eu.clarin.cmdi.mdservice.model.Query
provides a xml-version of the query (if parsed successfully) according to the XCQL-schema defined in the SRU/CQL standard
toXPath() - Method in class eu.clarin.cmdi.mdservice.model.Query
provides a xpath version of the query, based on the XCQL-version, applying a stylesheet on the XCQL-version
transformXML(InputStream, String, OutputStream) - Method in class eu.clarin.cmdi.mdservice.action.MDTransformer
The main method for transforming, applies the appropriate (based on the transkey) stylesheet on the xml-stream and writes the result into the output stream.
transformXML(InputStream, String) - Method in class eu.clarin.cmdi.mdservice.action.MDTransformer
just a wrapper for the main method translating the output-stream into a input-stream (expected by the Controller-Actions to return as response)
transformXML(URL, String) - Method in class eu.clarin.cmdi.mdservice.action.MDTransformer
another wrapper for the main method allowing to directly pass a URL to the source-xml
transformXML(String, String) - Method in class eu.clarin.cmdi.mdservice.action.MDTransformer
this is for xml present as string.
type - Variable in class eu.clarin.cmdi.mdservice.model.Query
 

U

updateCachecounter() - Method in class eu.clarin.cmdi.mdservice.action.Cache
 
urls - Static variable in class eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
 
userMsg - Variable in class eu.clarin.cmdi.mdservice.action.GenericProxyAction
 

W

writeCachecounter(Integer) - Method in class eu.clarin.cmdi.mdservice.action.Cache
 
writeToFile(String, InputStream) - Static method in class eu.clarin.cmdi.mdservice.action.Admin
 

X

XML - Static variable in class eu.clarin.cmdi.mdservice.model.Result
available formats

A B C D E F G H I L M N P Q R S T U W X