Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.protocols
Class HarvestProtocolResource

java.lang.Object
  extended by com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
      extended by com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
          extended by com.esri.gpt.catalog.harvest.protocols.HarvestProtocolResource
All Implemented Interfaces:
Protocol, Serializable

public class HarvestProtocolResource
extends AbstractHTTPHarvestProtocol

RES harvest protocol.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
HarvestProtocol.ProtocolType
 
Constructor Summary
HarvestProtocolResource()
           
 
Method Summary
 HRClient getClient(String hostUrl)
          Gets client associated with particular protocol.
 HarvestProtocol.ProtocolType getType()
          Gets protocol type.
 QueryBuilder newQueryBuilder(IterationContext context, String url)
          Creates new query builder.
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
applyAttributeMap, extractAttributeMap, getAttributeMap, getUserName, getUserPassword, setAttributeMap, setUserName, setUserPassword
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
chckAttr, checkConnection, getFlags, getKind, getPingSupported, ping, setFlags, toString, toXmlString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HarvestProtocolResource

public HarvestProtocolResource()
Method Detail

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 context
url - url
Returns:
query builder

Esri Geoportal Server
1.0

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