project.biota.biotaInterface
Class BiotaDefaultHandler

java.lang.Object
  extended byproject.biota.biotaInterface.BiotaRequestHandler
      extended byproject.biota.biotaInterface.BiotaDefaultHandler

public class BiotaDefaultHandler
extends BiotaRequestHandler

BiotaDefaultHandler is the default handler for a DiGIR request whenever the type of the requested resource isn't supported in this provider. Currently supported in this provider is Biota onboard Web Server and 4D Server. This class does nothing.

Author:
Kimmy Lin
See Also:
BiotaRequestHandler

Field Summary
 
Fields inherited from class project.biota.biotaInterface.BiotaRequestHandler
conceptualSchemaNamespace, conceptualSchemaURI, formatter, left_index, logger, maxDepth, maxlevel, requestParser, requiredConcepts, requiredTablesFields, responseRecords, right_index, rscObject
 
Constructor Summary
BiotaDefaultHandler(DiGIRRequestParser parser)
          Constructs a BiotaDefaultHandler.
 
Method Summary
protected  void buildDiGIRResult(String filterString)
          Does nothing.
protected  String getConceptValue(String conceptName, Object fieldsValues)
          Returns an empty string.
protected  void updateResourceMetadata(ResourceObject rscObj)
          Does nothing.
 
Methods inherited from class project.biota.biotaInterface.BiotaRequestHandler
addRecordConceptElem, buildResult, createInventoryResponseElem, findRequiredTablesFields, getQueryString, parseValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiotaDefaultHandler

public BiotaDefaultHandler(DiGIRRequestParser parser)
Constructs a BiotaDefaultHandler.

Parameters:
parser - the DiGIRRequestParser that parses the DiGIR request
Method Detail

buildDiGIRResult

protected void buildDiGIRResult(String filterString)
Does nothing.

Specified by:
buildDiGIRResult in class BiotaRequestHandler
Parameters:
filterString - the string representation of the filter in the DiGIR request

updateResourceMetadata

protected void updateResourceMetadata(ResourceObject rscObj)
Does nothing.

Specified by:
updateResourceMetadata in class BiotaRequestHandler
Parameters:
rscObj - the ResourceObject object that represents a resource
See Also:
ResourceObject.setNumberOfRecords(int), ResourceObject.setDateLastUpdated(String)

getConceptValue

protected String getConceptValue(String conceptName,
                                 Object fieldsValues)
Returns an empty string.

Specified by:
getConceptValue in class BiotaRequestHandler
Parameters:
conceptName - the name for the schema concept
fieldsValues - a collection of field values for one record
Returns:
an empty string
See Also:
BiotaRequestHandler.parseValue(Field, String)


Copyright © 2004 University of Massachusetts at Boston. All Rights Reserved.