Esri Geoportal Server
1.0

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

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

public class HarvestProtocolNone
extends HarvestProtocol

None 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
HarvestProtocolNone()
           
 
Method Summary
protected  void applyAttributeMap(StringAttributeMap attributeMap)
          Sets all the attributes.
protected  StringAttributeMap extractAttributeMap()
          Gets all the attributes.
 StringAttributeMap getAttributeMap()
          Gets all the attributes.
 HRClient getClient(String hostUrl)
          Gets harvest client.
 HarvestProtocol.ProtocolType getType()
          Gets protocol type.
 QueryBuilder newQueryBuilder(IterationContext context, String url)
          Creates new query builder.
 void setAttributeMap(StringAttributeMap attributeMap)
          Sets all the attributes.
 
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

HarvestProtocolNone

public HarvestProtocolNone()
Method Detail

getType

public final HarvestProtocol.ProtocolType getType()
Gets protocol type.

Specified by:
getType in class HarvestProtocol
Returns:
protocol type

extractAttributeMap

protected StringAttributeMap extractAttributeMap()
Gets all the attributes.

Specified by:
extractAttributeMap in class HarvestProtocol
Returns:
attributes as attribute map (always empty)

getAttributeMap

public StringAttributeMap getAttributeMap()
Gets all the attributes.

Returns:
attributes as attribute map (always empty)

applyAttributeMap

protected void applyAttributeMap(StringAttributeMap attributeMap)
Sets all the attributes.

Specified by:
applyAttributeMap in class HarvestProtocol
Parameters:
attributeMap - attributes as attribute map (ignored)

setAttributeMap

public void setAttributeMap(StringAttributeMap attributeMap)
Sets all the attributes.

Parameters:
attributeMap - attributes as attribute map (ignored)

getClient

public HRClient getClient(String hostUrl)
                   throws HRInvalidProtocolException
Gets harvest client.

Specified by:
getClient in class HarvestProtocol
Parameters:
hostUrl - host URL
Returns:
null value
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.