Esri Geoportal Server
1.0

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>, NavigableMap<String,ProtocolFactory>, SortedMap<String,ProtocolFactory>

public class ProtocolFactories
extends TreeMap<String,ProtocolFactory>

Collection of protocol factories.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
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
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, 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>

Esri Geoportal Server
1.0

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