Esri Geoportal Server
1.0

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

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.HarvestProtocolOai
All Implemented Interfaces:
Protocol, Serializable

public class HarvestProtocolOai
extends AbstractHTTPHarvestProtocol

OAI 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
HarvestProtocolOai()
           
 
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.
 String getPrefix()
          Gets prefix.
 String getSet()
          Gets set.
 HarvestProtocol.ProtocolType getType()
          Gets protocol type.
 QueryBuilder newQueryBuilder(IterationContext context, String url)
          Creates new query builder.
 void setAttributeMap(StringAttributeMap attributeMap)
          Sets all the attributes.
 void setPrefix(String prefix)
          Sets prefix.
 void setSet(String set)
          Sets set.
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
getUserName, getUserPassword, 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

HarvestProtocolOai

public HarvestProtocolOai()
Method Detail

getSet

public String getSet()
Gets set.

Returns:
set

setSet

public void setSet(String set)
Sets set.

Parameters:
set - set

getPrefix

public String getPrefix()
Gets prefix.

Returns:
prefix

setPrefix

public void setPrefix(String prefix)
Sets prefix.

Parameters:
prefix - prefix

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.

Overrides:
extractAttributeMap in class AbstractHTTPHarvestProtocol
Returns:
attributes as attribute map

getAttributeMap

public StringAttributeMap getAttributeMap()
Gets all the attributes.

Specified by:
getAttributeMap in interface Protocol
Overrides:
getAttributeMap in class AbstractHTTPHarvestProtocol
Returns:
attributes as attribute map

applyAttributeMap

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

Overrides:
applyAttributeMap in class AbstractHTTPHarvestProtocol
Parameters:
attributeMap - attributes as attribute map

setAttributeMap

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

Specified by:
setAttributeMap in interface Protocol
Overrides:
setAttributeMap in class AbstractHTTPHarvestProtocol
Parameters:
attributeMap - attributes as attribute map

getClient

public HRClient getClient(String hostUrl)
Gets harvest client.

Specified by:
getClient in class HarvestProtocol
Parameters:
hostUrl - host URL
Returns:
harvest client

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.