Esri Geoportal Server
1.0

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

All Known Implementing Classes:
ProviderFactory

public interface IProviderFactory

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


Method Summary
 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.
 RequestHandler 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.
 

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

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

RequestHandler 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

Esri Geoportal Server
1.0

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