Esri Geoportal Server
1.2.9

com.esri.gpt.server.csw.components
Interface IProviderFactory

All Known Implementing Classes:
ProviderFactory, ProviderFactory

public interface IProviderFactory

Interface for instantiating components associated with the execution of a requested CSW operation.


Method Summary
 CswNamespaces getNamespaces()
          Gets namespaces.
 String getVersion()
          Gets CSW version.
 IBBOXParser makeBBOXParser(OperationContext context)
          Makes a parser for an "bbox" parameter.
 ICqlParser makeCqlParser(OperationContext context, String version)
          Makes a parser for a csw:CqlText expression.
 IFilterParser makeFilterParser(OperationContext context, String version)
          Makes a parser for an ogc:Filter.
 IOperationProvider makeOperationProvider(OperationContext context, String operationName)
          Makes an operation provider for a given operation name.
 IOriginalXmlProvider makeOriginalXmlProvider(OperationContext context)
          Makes a provider for documents in their original XML schema.
 IQueryEvaluator makeQueryEvaluator(OperationContext context)
          Makes an evaluator for a CSW query.
 IQueryParser makeQueryParser(OperationContext context)
          Makes a parser for an "q" parameter.
 IRequestHandler makeRequestHandler(HttpServletRequest request, RequestContext requestContext, String cswSubContextPath, String resourceFilePrefix)
          Makes a CSW request handler.
 IResponseGenerator makeResponseGenerator(OperationContext context)
          Makes an appropriate CSW operation response generator.
 ISortByParser makeSortByParser(OperationContext context)
          Makes a parser for an ogc:SortBy clause.
 IRequestHandler newHandler(RequestContext requestContext)
          Instantiates a CSW request handler the local catalog.
 

Method Detail

makeCqlParser

ICqlParser makeCqlParser(OperationContext context,
                         String version)
                         throws OwsException
Makes a parser for a csw:CqlText expression.

Parameters:
context - the operation context
version - the CSW constraint version
Returns:
the CQL parser
Throws:
OwsException - if the method is unsupported

makeFilterParser

IFilterParser makeFilterParser(OperationContext context,
                               String version)
                               throws OwsException
Makes a parser for an ogc:Filter.

Parameters:
context - the operation context
version - the CSW constraint version
Returns:
the filter parser
Throws:
OwsException - if the method is unsupported

makeQueryParser

IQueryParser makeQueryParser(OperationContext context)
                             throws OwsException
Makes a parser for an "q" parameter.

Parameters:
context - the operation context
Returns:
the query parser
Throws:
OwsException - if the method is unsupported

makeBBOXParser

IBBOXParser makeBBOXParser(OperationContext context)
                           throws OwsException
Makes a parser for an "bbox" parameter.

Parameters:
context - the operation context
Returns:
the bbox parser
Throws:
OwsException - if the method is unsupported

makeOperationProvider

IOperationProvider makeOperationProvider(OperationContext context,
                                         String operationName)
                                         throws OwsException
Makes an operation provider for a given operation name.

Parameters:
context - the operation context
operationName - the operation name
Returns:
the operation provider
Throws:
OwsException - if the method is unsupported

makeOriginalXmlProvider

IOriginalXmlProvider makeOriginalXmlProvider(OperationContext context)
                                             throws OwsException
Makes a provider for documents in their original XML schema.

Parameters:
context - the operation context
Returns:
the original XML provider
Throws:
OwsException - if the method is unsupported

makeQueryEvaluator

IQueryEvaluator makeQueryEvaluator(OperationContext context)
                                   throws OwsException
Makes an evaluator for a CSW query.

Parameters:
context - the operation context
Returns:
the query evaluator
Throws:
OwsException - if the method is unsupported

makeRequestHandler

IRequestHandler makeRequestHandler(HttpServletRequest request,
                                   RequestContext requestContext,
                                   String cswSubContextPath,
                                   String resourceFilePrefix)
Makes a CSW request handler.

Parameters:
request - the HTTP servlet request
requestContext - the active request context
cswSubContextPath - the HTTP sub-context path associated with the CSW service
resourceFilePrefix - the path prefix for XML/XSLT resource files
Returns:
the request handler

makeResponseGenerator

IResponseGenerator makeResponseGenerator(OperationContext context)
                                         throws OwsException
Makes an appropriate CSW operation response generator.

Parameters:
context - the operation context
Returns:
the response generator
Throws:
OwsException - if the method is unsupported

makeSortByParser

ISortByParser makeSortByParser(OperationContext context)
                               throws OwsException
Makes a parser for an ogc:SortBy clause.

Parameters:
context - the operation context
Returns:
the sortBy parser
Throws:
OwsException - if the method is unsupported

newHandler

IRequestHandler newHandler(RequestContext requestContext)
Instantiates a CSW request handler the local catalog.

Parameters:
requestContext - the active request context
Returns:
the request handler

getVersion

String getVersion()
Gets CSW version.

Returns:
CSW version

getNamespaces

CswNamespaces getNamespaces()
Gets namespaces.

Returns:
namespaces

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.