Esri Geoportal Server
1.0

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

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

public class HarvestProtocolCsw
extends AbstractHTTPHarvestProtocol

CSW 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
HarvestProtocolCsw()
           
 
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 getProfile()
          Gets profile.
 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 setProfile(String profile)
          Sets profile.
 
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

HarvestProtocolCsw

public HarvestProtocolCsw()
Method Detail

getProfile

public String getProfile()
Gets profile.

Returns:
profile

setProfile

public void setProfile(String profile)
Sets profile.

Parameters:
profile - profile

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.