Class XmlTaskManagerFactory

java.lang.Object
org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory
org.openstreetmap.osmosis.xml.common.XmlTaskManagerFactory
Direct Known Subclasses:
FastXmlReaderFactory, XmlChangeReaderFactory, XmlChangeUploaderFactory, XmlChangeWriterFactory, XmlReaderFactory, XmlWriterFactory

public abstract class XmlTaskManagerFactory extends org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory
Extends the basic task manager factory functionality with xml task specific common methods.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getCompressionMethodArgument(org.openstreetmap.osmosis.core.pipeline.common.TaskConfiguration taskConfig, String fileName)
    Utility method for retrieving a CompressionMethod argument value from a Map of task arguments.
    protected boolean
    getProdEncodingHackArgument(org.openstreetmap.osmosis.core.pipeline.common.TaskConfiguration taskConfig)
    Utility method for retrieving the argument specifying whether to enable the production file encoding hack to work around a bug in the current production configuration.

    Methods inherited from class org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory

    createTaskManager, createTaskManagerImpl, doesArgumentExist, getBooleanArgument, getDateArgument, getDateArgument, getDefaultIntegerArgument, getDefaultStringArgument, getDoubleArgument, getIntegerArgument, getIntegerArgument, getStringArgument, getStringArgument

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XmlTaskManagerFactory

      public XmlTaskManagerFactory()
  • Method Details

    • getCompressionMethodArgument

      protected CompressionMethod getCompressionMethodArgument(org.openstreetmap.osmosis.core.pipeline.common.TaskConfiguration taskConfig, String fileName)
      Utility method for retrieving a CompressionMethod argument value from a Map of task arguments.
      Parameters:
      taskConfig - Contains all information required to instantiate and configure the task.
      fileName - The file name used to determine the default compression method.
      Returns:
      The value of the argument.
    • getProdEncodingHackArgument

      protected boolean getProdEncodingHackArgument(org.openstreetmap.osmosis.core.pipeline.common.TaskConfiguration taskConfig)
      Utility method for retrieving the argument specifying whether to enable the production file encoding hack to work around a bug in the current production configuration.
      Parameters:
      taskConfig - Contains all information required to instantiate and configure the task.
      Returns:
      The value of the argument.