Class ClassProjFactory
- java.lang.Object
-
- org.openstreetmap.josm.data.projection.proj.ClassProjFactory
-
- All Implemented Interfaces:
ProjFactory
public class ClassProjFactory extends java.lang.Object implements ProjFactory
Proj Factory that creates instances from a given class.
-
-
Constructor Summary
Constructors Constructor Description ClassProjFactory(java.lang.Class<? extends Proj> projClass)
Constructs a newClassProjFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Proj
createInstance()
Creates a Proj instance.
-
-
-
Constructor Detail
-
ClassProjFactory
public ClassProjFactory(java.lang.Class<? extends Proj> projClass)
Constructs a newClassProjFactory
.- Parameters:
projClass
- projection class
-
-
Method Detail
-
createInstance
public Proj createInstance()
Description copied from interface:ProjFactory
Creates a Proj instance.- Specified by:
createInstance
in interfaceProjFactory
- Returns:
- a Proj instance
-
-