Esri Geoportal Server
1.0

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

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

public class HarvestProtocolArcIms
extends AbstractHTTPHarvestProtocol

ArcIMS 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
HarvestProtocolArcIms()
           
 
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.
 int getPortNo()
          Gets port number.
 String getPortNoAsString()
          Gets port number as string.
 String getRootFolder()
          Gets root folder.
 String getServiceName()
          Gets service name.
 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 setPortNo(int portNo)
          Sets port number.
 void setPortNoAsString(String portNoAsString)
          Sets port number as string.
 void setRootFolder(String rootFolder)
          Sets root folder.
 void setServiceName(String serviceName)
          Sets servie name.
 
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

HarvestProtocolArcIms

public HarvestProtocolArcIms()
Method Detail

getPortNo

public int getPortNo()
Gets port number.

Returns:
port number

setPortNo

public void setPortNo(int portNo)
Sets port number.

Parameters:
portNo - port number

getPortNoAsString

public String getPortNoAsString()
Gets port number as string.

Returns:
port number as string

setPortNoAsString

public void setPortNoAsString(String portNoAsString)
Sets port number as string.

Parameters:
portNoAsString - port number as string

getServiceName

public String getServiceName()
Gets service name.

Returns:
service name

setServiceName

public void setServiceName(String serviceName)
Sets servie name.

Parameters:
serviceName - service name

getRootFolder

public String getRootFolder()
Gets root folder.

Returns:
root folder

setRootFolder

public void setRootFolder(String rootFolder)
Sets root folder.

Parameters:
rootFolder - root folder

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.