org.gcube.opensearch.opensearchoperator.resource
Class ISOpenSearchResourceCache

java.lang.Object
  extended by org.gcube.opensearch.opensearchoperator.resource.ISOpenSearchResourceCache

public class ISOpenSearchResourceCache
extends Object

A resource cache that caches generic resources, description documents in XML form and OpenSearchResource objects. Used to avoid using the network or querying the InformationSystem every time a previously retrieved resource is requested

Author:
gerasimos.farantatos

Field Summary
 Map<String,String> descriptionDocuments
          Associates description document URLs with description document XML representations
 Map<String,OpenSearchResource> resources
          Associates description document URLs with OpenSearchResources
 Map<String,String> resourcesXML
          Associates description document URLs with OpenSearchResource XML representations
 Map<String,String> XSLTs
          Associates XSLT generic resource names with their XML representations
 
Constructor Summary
ISOpenSearchResourceCache()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptionDocuments

public Map<String,String> descriptionDocuments
Associates description document URLs with description document XML representations


resources

public Map<String,OpenSearchResource> resources
Associates description document URLs with OpenSearchResources


resourcesXML

public Map<String,String> resourcesXML
Associates description document URLs with OpenSearchResource XML representations


XSLTs

public Map<String,String> XSLTs
Associates XSLT generic resource names with their XML representations

Constructor Detail

ISOpenSearchResourceCache

public ISOpenSearchResourceCache()


Copyright © 2013. All Rights Reserved.