com.esri.gpt.control.webharvest.protocol
Class ProtocolFactories
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<String,ProtocolFactory>
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
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 |
ProtocolFactories
public ProtocolFactories()
- Creates instance of the factories.
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>
Copyright 2010 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.