/** * Creates a responsible party metadata entry for OGC involvement. The organisation name is * automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param function The OGC function (information, download, etc.) for a resource. * @param onlineResource The URI on the resource. * @return Responsible party describing OGC involvement. */ static ResponsibleParty OGC( final Role role, final OnLineFunction function, final String onlineResource) { try { return OGC(role, function, new URI(onlineResource)); } catch (URISyntaxException badContact) { Logging.unexpectedException( "org.geotools.metadata.iso", ResponsibleParty.class, "OGC", badContact); return OGC; } }
/** * Creates a responsible party metadata entry for OGC involvement. The organisation name is * automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param function The OGC function (information, download, etc.) for a resource. * @param onlineResource The URI to the resource. * @return Responsible party describing OGC involvement. */ public static ResponsibleParty OGC( final Role role, final OnLineFunction function, final URI onlineResource) { final OnLineResourceImpl resource = new OnLineResourceImpl(onlineResource); resource.setFunction(function); resource.freeze(); return OGC(role, resource); }
/** * Creates a responsible party metadata entry for OGC involvement. * The organisation name is automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param function The OGC function (information, download, etc.) for a resource. * @param onlineResource The URI on the resource. * @return Responsible party describing OGC involvement. */ static ResponsibleParty OGC(final Role role, final OnLineFunction function, final String onlineResource) { try { return OGC(role, function, new URI(onlineResource)); } catch (URISyntaxException badContact) { Logging.unexpectedException("org.geotools.metadata.iso", ResponsibleParty.class, "OGC", badContact); return OGC; } }
/** * Creates a responsible party metadata entry for OGC involvement. * The organisation name is automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param function The OGC function (information, download, etc.) for a resource. * @param onlineResource The URI on the resource. * @return Responsible party describing OGC involvement. */ static ResponsibleParty OGC(final Role role, final OnLineFunction function, final String onlineResource) { try { return OGC(role, function, new URI(onlineResource)); } catch (URISyntaxException badContact) { Logging.unexpectedException("org.geotools.metadata.iso", ResponsibleParty.class, "OGC", badContact); return OGC; } }
/** * Creates a responsible party metadata entry for OGC involvement. * The organisation name is automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param function The OGC function (information, download, etc.) for a resource. * @param onlineResource The URI to the resource. * @return Responsible party describing OGC involvement. */ public static ResponsibleParty OGC(final Role role, final OnLineFunction function, final URI onlineResource) { final OnLineResourceImpl resource = new OnLineResourceImpl(onlineResource); resource.setFunction(function); resource.freeze(); return OGC(role, resource); }
/** * Creates a responsible party metadata entry for OGC involvement. * The organisation name is automatically set to "Open Geospatial Consortium". * * @param role The OGC role (point of contact, owner, etc.) for a resource. * @param function The OGC function (information, download, etc.) for a resource. * @param onlineResource The URI to the resource. * @return Responsible party describing OGC involvement. */ public static ResponsibleParty OGC(final Role role, final OnLineFunction function, final URI onlineResource) { final OnLineResourceImpl resource = new OnLineResourceImpl(onlineResource); resource.setFunction(function); resource.freeze(); return OGC(role, resource); }