org.openstreetmap.josm.io
Class OsmWriterFactory

java.lang.Object
  extended by 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.


Field Summary
static OsmWriterFactory theFactory
           
 
Constructor Summary
OsmWriterFactory()
           
 
Method Summary
static OsmWriter createOsmWriter(java.io.PrintWriter out, boolean osmConform, java.lang.String version)
           
protected  OsmWriter createOsmWriterImpl(java.io.PrintWriter out, boolean osmConform, java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theFactory

public static OsmWriterFactory theFactory
Constructor Detail

OsmWriterFactory

public OsmWriterFactory()
Method Detail

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