ArcGIS Server Geoportal extension
10

com.esri.gpt.control.webharvest.protocol
Class ProtocolFactories

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<String,ProtocolFactory>
          extended by com.esri.gpt.control.webharvest.protocol.ProtocolFactories
All Implemented Interfaces:
Serializable, Cloneable, Map<String,ProtocolFactory>, SortedMap<String,ProtocolFactory>

public class ProtocolFactories
extends TreeMap<String,ProtocolFactory>

Collection of protocol factories.

Since:
10.0
See Also:
Serialized Form

Constructor Summary
ProtocolFactories()
          Creates instance of the factories.
 
Method Summary
 void initDefault()
          Initializes collection with default protocol factories.
 Protocol parseProtocol(String xmlString)
          Parses protocol.
 String toString()
           
 
Methods inherited from class java.util.TreeMap
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

ProtocolFactories

public ProtocolFactories()
Creates instance of the factories.

Method Detail

initDefault

public void initDefault()
Initializes collection with default protocol factories.


parseProtocol

public Protocol parseProtocol(String xmlString)
Parses protocol.

Parameters:
xmlString - protocl as XML string
Returns:
protocol
Throws:
ProtocolException - if error parsing protocol

toString

public String toString()
Overrides:
toString in class AbstractMap<String,ProtocolFactory>

ArcGIS Server Geoportal extension
10

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