|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.csw.provider.local.ProviderFactory
public class ProviderFactory
Instantiates components associated with the execution of a requested CSW operation against the local catalog.
Constructor Summary | |
---|---|
ProviderFactory()
Default constructor |
Method Summary | |
---|---|
static void |
main(String[] args)
Main unit test method. |
ICqlParser |
makeCqlParser(OperationContext context,
String version)
Makes an adapter for a csw:CqlText expression. |
IFilterParser |
makeFilterParser(OperationContext context,
String version)
Makes an adapter 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 an adapter for an ogc:SortyBy clause. |
static IProviderFactory |
newFactory(RequestContext requestContext)
Instantiates a CSW provider factory for the local catalog. |
static RequestHandler |
newHandler(RequestContext requestContext)
Instantiates a CSW request handler the local catalog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProviderFactory()
Method Detail |
---|
public static void main(String[] args)
args
- startup argumentspublic ICqlParser makeCqlParser(OperationContext context, String version) throws OwsException
makeCqlParser
in interface IProviderFactory
context
- the operation contextversion
- the CSW constraint version
OwsException
- if the method is unsupportedpublic IFilterParser makeFilterParser(OperationContext context, String version) throws OwsException
makeFilterParser
in interface IProviderFactory
context
- the operation contextversion
- the CSW constraint version
OwsException
- if the method is unsupportedpublic IOperationProvider makeOperationProvider(OperationContext context, String operationName) throws OwsException
makeOperationProvider
in interface IProviderFactory
context
- the operation contextoperationName
- the operation name
OwsException
- if the method is unsupportedpublic IOriginalXmlProvider makeOriginalXmlProvider(OperationContext context) throws OwsException
makeOriginalXmlProvider
in interface IProviderFactory
context
- the operation context
OwsException
- if the method is unsupportedpublic IQueryEvaluator makeQueryEvaluator(OperationContext context) throws OwsException
makeQueryEvaluator
in interface IProviderFactory
context
- the operation context
OwsException
- if the method is unsupportedpublic RequestHandler makeRequestHandler(HttpServletRequest request, RequestContext requestContext, String cswSubContextPath, String resourceFilePrefix)
makeRequestHandler
in interface IProviderFactory
request
- the HTTP servlet requestrequestContext
- the active request contextcswSubContextPath
- the HTTP sub-context path associated with the CSW serviceresourceFilePrefix
- the path prefix for XML/XSLT resource files
public IResponseGenerator makeResponseGenerator(OperationContext context) throws OwsException
makeResponseGenerator
in interface IProviderFactory
context
- the operation context
OwsException
- if the method is unsupportedpublic ISortByParser makeSortByParser(OperationContext context) throws OwsException
makeSortByParser
in interface IProviderFactory
context
- the operation context
OwsException
- if the method is unsupportedpublic static RequestHandler newHandler(RequestContext requestContext)
requestContext
- the active request context
public static IProviderFactory newFactory(RequestContext requestContext)
requestContext
- the active request context
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |