Esri Geoportal Server
1.2.9

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

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

public class HarvestProtocolDCAT
extends AbstractHTTPHarvestProtocol

Harvest protocol DCAT.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
HarvestProtocol.ProtocolType
 
Field Summary
static String FORMAT_PATTERN_DEFAULT_VALUE
           
 
Constructor Summary
HarvestProtocolDCAT()
           
 
Method Summary
 StringAttributeMap getAttributeMap()
          Gets all the attributes.
 String getFormat()
          Gets format.
 String getKind()
          Gets protocol kind.
 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 setFormat(String format)
          Set format.
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
getUserName, getUserPassword, ping, setUserName, setUserPassword
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
applyAttributeMap, chckAttr, checkConnection, decryptString, encryptString, extractAttributeMap, getAdHoc, getClient, getDestinations, getFlags, getPingSupported, newExecutor, setAdHoc, setDestinations, setFlags, toString, toXmlString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FORMAT_PATTERN_DEFAULT_VALUE

public static final String FORMAT_PATTERN_DEFAULT_VALUE
Constructor Detail

HarvestProtocolDCAT

public HarvestProtocolDCAT()
Method Detail

getType

public HarvestProtocol.ProtocolType getType()
Description copied from class: HarvestProtocol
Gets protocol type.

Specified by:
getType in class HarvestProtocol
Returns:
protocol type

getKind

public String getKind()
Description copied from interface: Protocol
Gets protocol kind.

Specified by:
getKind in interface Protocol
Overrides:
getKind in class HarvestProtocol
Returns:
protocol kind

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

getAttributeMap

public StringAttributeMap getAttributeMap()
Gets all the attributes.

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

setAttributeMap

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

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

getFormat

public String getFormat()
Gets format.

Format property is a value of the 'format' attribute within 'Distribution' array in the DCAT JSON response.

Returns:
format

setFormat

public void setFormat(String format)
Set format.

Format property is a value of the 'format' attribute within 'Distribution' array in the DCAT JSON response.

Parameters:
format - format

Esri Geoportal Server
1.2.9

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