org.openstreetmap.josm.io
Class OsmWriterFactory
java.lang.Object
org.openstreetmap.josm.io.OsmWriterFactory
public class OsmWriterFactory
- extends java.lang.Object
This factory is called by everyone who needs an OsmWriter object,
instead of directly calling the OsmWriter constructor.
This enables plugins to substitute the original OsmWriter with
their own version, altering the way JOSM writes objects to the
server, and to disk.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theFactory
public static OsmWriterFactory theFactory
OsmWriterFactory
public OsmWriterFactory()
createOsmWriter
public static OsmWriter createOsmWriter(java.io.PrintWriter out,
boolean osmConform,
java.lang.String version)
createOsmWriterImpl
protected OsmWriter createOsmWriterImpl(java.io.PrintWriter out,
boolean osmConform,
java.lang.String version)
JOSM