Search in sources :

Example 1 with FastXmlReaderFactory

use of org.openstreetmap.osmosis.xml.v0_6.FastXmlReaderFactory in project osmosis by openstreetmap.

the class XmlPluginLoader method loadTaskFactories.

/**
 * {@inheritDoc}
 */
@Override
public Map<String, TaskManagerFactory> loadTaskFactories() {
    Map<String, TaskManagerFactory> factoryMap;
    factoryMap = new HashMap<String, TaskManagerFactory>();
    factoryMap.put("read-xml", new XmlReaderFactory());
    factoryMap.put("fast-read-xml", new FastXmlReaderFactory());
    factoryMap.put("rx", new XmlReaderFactory());
    factoryMap.put("read-xml-change", new XmlChangeReaderFactory());
    factoryMap.put("upload-xml-change", new XmlChangeUploaderFactory());
    factoryMap.put("rxc", new XmlChangeReaderFactory());
    factoryMap.put("write-xml", new XmlWriterFactory());
    factoryMap.put("wx", new XmlWriterFactory());
    factoryMap.put("write-xml-change", new XmlChangeWriterFactory());
    factoryMap.put("wxc", new XmlChangeWriterFactory());
    factoryMap.put("read-api", new XmlDownloaderFactory());
    factoryMap.put("ra", new XmlDownloaderFactory());
    factoryMap.put("read-xml-0.6", new XmlReaderFactory());
    factoryMap.put("fast-read-xml-0.6", new FastXmlReaderFactory());
    factoryMap.put("read-xml-change-0.6", new XmlChangeReaderFactory());
    factoryMap.put("write-xml-0.6", new XmlWriterFactory());
    factoryMap.put("write-xml-change-0.6", new XmlChangeWriterFactory());
    factoryMap.put("read-api-0.6", new XmlDownloaderFactory());
    return factoryMap;
}
Also used : FastXmlReaderFactory(org.openstreetmap.osmosis.xml.v0_6.FastXmlReaderFactory) XmlReaderFactory(org.openstreetmap.osmosis.xml.v0_6.XmlReaderFactory) XmlWriterFactory(org.openstreetmap.osmosis.xml.v0_6.XmlWriterFactory) TaskManagerFactory(org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory) XmlChangeUploaderFactory(org.openstreetmap.osmosis.xml.v0_6.XmlChangeUploaderFactory) XmlChangeReaderFactory(org.openstreetmap.osmosis.xml.v0_6.XmlChangeReaderFactory) FastXmlReaderFactory(org.openstreetmap.osmosis.xml.v0_6.FastXmlReaderFactory) XmlChangeWriterFactory(org.openstreetmap.osmosis.xml.v0_6.XmlChangeWriterFactory) XmlDownloaderFactory(org.openstreetmap.osmosis.xml.v0_6.XmlDownloaderFactory)

Aggregations

TaskManagerFactory (org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory)1 FastXmlReaderFactory (org.openstreetmap.osmosis.xml.v0_6.FastXmlReaderFactory)1 XmlChangeReaderFactory (org.openstreetmap.osmosis.xml.v0_6.XmlChangeReaderFactory)1 XmlChangeUploaderFactory (org.openstreetmap.osmosis.xml.v0_6.XmlChangeUploaderFactory)1 XmlChangeWriterFactory (org.openstreetmap.osmosis.xml.v0_6.XmlChangeWriterFactory)1 XmlDownloaderFactory (org.openstreetmap.osmosis.xml.v0_6.XmlDownloaderFactory)1 XmlReaderFactory (org.openstreetmap.osmosis.xml.v0_6.XmlReaderFactory)1 XmlWriterFactory (org.openstreetmap.osmosis.xml.v0_6.XmlWriterFactory)1