com.esri.gpt.catalog.harvest.protocols
Class HarvestProtocolResource
java.lang.Object
com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
com.esri.gpt.catalog.harvest.protocols.HarvestProtocolResource
- All Implemented Interfaces:
- Protocol, Serializable
public class HarvestProtocolResource
- extends AbstractHTTPHarvestProtocol
RES harvest protocol.
- See Also:
- Serialized Form
HarvestProtocolResource
public HarvestProtocolResource()
getType
public HarvestProtocol.ProtocolType getType()
- Description copied from class:
HarvestProtocol
- Gets protocol type.
- Specified by:
getType
in class HarvestProtocol
- Returns:
- protocol type
getClient
public HRClient getClient(String hostUrl)
throws HRInvalidProtocolException
- Description copied from class:
HarvestProtocol
- Gets client associated with particular protocol.
- Specified by:
getClient
in class HarvestProtocol
- Parameters:
hostUrl
- host URL
- Returns:
- instance of the harvest repository client
- Throws:
HRInvalidProtocolException
- if unable to create client for
the protocol
newQueryBuilder
public QueryBuilder newQueryBuilder(IterationContext context,
String url)
- Description copied from interface:
Protocol
- Creates new query builder.
- Parameters:
context
- iteration contexturl
- url
- Returns:
- query builder
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.