Addition of pre-defined constants. Those constants will be replaced by entries in an embedded
database for the Apache SIS project. The metadata-sql
module can handle this task.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r11095:11096 https://svn.osgeo.org/geotools/trunk/modules/library/metadata/src/main/java/org/geotools/metadata/iso/citation/OnLineResourceImpl.java
Revision 11095 | Revision 11096 |
---|---|
private static final long serialVersionUID = 5412370008274334799L; /** * The online resources for the <A HREF="http://www.opengis.org">OpenGIS consortium</A>. */ public static final OnLineResource OPEN_GIS = new OnLineResource(); |
private static final long serialVersionUID = 5412370008274334799L; /** * The online resources for the <A HREF="http://www.opengis.org">Open Geospatial Consortium</A>. * @see OPEN_GIS */ public static final OnLineResource OGC = new OnLineResource(); /** * The online resources for the <A HREF="http://www.opengis.org">OpenGIS consortium</A>. */ public static final OnLineResource OPEN_GIS = new OnLineResource(); |
public static final OnLineResource GEOTOOLS = new OnLineResource(); static { try { OPEN_GIS.setLinkage(new URL("http://www.opengis.org" )); EPSG .setLinkage(new URL("http://www.epsg.org" )); GEOTIFF .setLinkage(new URL("http://www.remotesensing.org/geotiff")); |
public static final OnLineResource GEOTOOLS = new OnLineResource();
static {
try {
OGC. setLinkage(new URL("http://www.opengeospatial.org/" ));
OPEN_GIS.setLinkage(new URL("http://www.opengis.org" ));
EPSG .setLinkage(new URL("http://www.epsg.org" ));
GEOTIFF .setLinkage(new URL("http://www.remotesensing.org/geotiff")); |
// Should never happen. throw new ExceptionInInitializerError(exception); } OPEN_GIS.setFunction(OnLineFunction.DOWNLOAD); EPSG .setFunction(OnLineFunction.DOWNLOAD); GEOTIFF .setFunction(OnLineFunction.DOWNLOAD); ESRI .setFunction(OnLineFunction.INFORMATION); GEOTOOLS.setFunction(OnLineFunction.DOWNLOAD); OPEN_GIS.freeze(); EPSG .freeze(); GEOTIFF .freeze(); |
// Should never happen. throw new ExceptionInInitializerError(exception); } OGC. setFunction(OnLineFunction.INFORMATION); OPEN_GIS.setFunction(OnLineFunction.DOWNLOAD); EPSG .setFunction(OnLineFunction.DOWNLOAD); GEOTIFF .setFunction(OnLineFunction.DOWNLOAD); ESRI .setFunction(OnLineFunction.INFORMATION); GEOTOOLS.setFunction(OnLineFunction.DOWNLOAD); OGC .freeze(); OPEN_GIS.freeze(); EPSG .freeze(); GEOTIFF .freeze(); |