/** * Create a ProjectionImpl from the projection * * @param proj projection * @return a ProjectionImpl representing the projection */ static public ProjectionImpl factory(Projection proj) { if (proj instanceof ProjectionImpl) { return (ProjectionImpl) proj; } return new ProjectionAdapter(proj); }
/** * Create a ProjectionImpl from the projection * * @param proj projection * @return a ProjectionImpl representing the projection */ static public ProjectionImpl factory(Projection proj) { if (proj instanceof ProjectionImpl) { return (ProjectionImpl) proj; } return new ProjectionAdapter(proj); }
/** * Create a ProjectionImpl from the projection * * @param proj projection * @return a ProjectionImpl representing the projection */ static public ProjectionImpl factory(Projection proj) { if (proj instanceof ProjectionImpl) { return (ProjectionImpl) proj; } return new ProjectionAdapter(proj); }
/** * Create a ProjectionImpl from the projection * * @param proj projection * @return a ProjectionImpl representing the projection */ static public ProjectionImpl factory(Projection proj) { if (proj instanceof ProjectionImpl) { return (ProjectionImpl) proj; } return new ProjectionAdapter(proj); }
/** copy constructor - avoid clone !! */ public ProjectionImpl constructCopy() { return new ProjectionAdapter( proj); }
@Override public ProjectionImpl constructCopy() { ProjectionImpl result = new ProjectionAdapter(proj); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
@Override public ProjectionImpl constructCopy() { ProjectionImpl result = new ProjectionAdapter(proj); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
@Override public ProjectionImpl constructCopy() { ProjectionImpl result = new ProjectionAdapter(proj); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }