Esri Geoportal Server
1.0

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

java.lang.Object
  extended by com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
      extended by com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
All Implemented Interfaces:
Protocol, Serializable
Direct Known Subclasses:
HarvestProtocolArcIms, HarvestProtocolCsw, HarvestProtocolOai, HarvestProtocolResource, HarvestProtocolWaf

public abstract class AbstractHTTPHarvestProtocol
extends HarvestProtocol

Abstract HTTP-based 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
AbstractHTTPHarvestProtocol()
           
 
Method Summary
protected  void applyAttributeMap(StringAttributeMap attributeMap)
          Sets all the attributes.
protected  StringAttributeMap extractAttributeMap()
          Gets all the attributes.
 StringAttributeMap getAttributeMap()
          Gets all the attributes.
 String getUserName()
          Gets user name.
 String getUserPassword()
          Gets user password.
 void setAttributeMap(StringAttributeMap attributeMap)
          Sets all the attributes.
 void setUserName(String userName)
          Sets user name.
 void setUserPassword(String userPassword)
          Sets user password.
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
chckAttr, checkConnection, getClient, getFlags, getKind, getPingSupported, getType, ping, setFlags, toString, toXmlString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.gpt.control.webharvest.protocol.Protocol
newQueryBuilder
 

Constructor Detail

AbstractHTTPHarvestProtocol

public AbstractHTTPHarvestProtocol()
Method Detail

getUserName

public String getUserName()
Gets user name.

Returns:
user name

setUserName

public void setUserName(String userName)
Sets user name.

Parameters:
userName - user name

getUserPassword

public String getUserPassword()
Gets user password.

Returns:
user password

setUserPassword

public void setUserPassword(String userPassword)
Sets user password.

Parameters:
userPassword - user password

extractAttributeMap

protected StringAttributeMap extractAttributeMap()
Gets all the attributes.

Specified by:
extractAttributeMap in class HarvestProtocol
Returns:
attributes as attribute map

getAttributeMap

public StringAttributeMap getAttributeMap()
Gets all the attributes.

Returns:
attributes as attribute map

applyAttributeMap

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

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

setAttributeMap

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

Parameters:
attributeMap - attributes as attribute map

Esri Geoportal Server
1.0

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