/*$************************************************************************************************
**
** $Id: AbstractURL.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/layer/AbstractURL.java $
**
** Copyright (C) 2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.layer;
// OpenGIS direct dependencies
import org.opengis.metadata.citation.OnLineResource;
/**
* A simple starting point for most of the various URL elements used by {@link Layer}s
* and {@link Style}s.
*
* @version Implementation specification 1.3
* @author Jesse Crossley (SYS Technologies)
* @since GeoAPI 2.0
*/
public interface AbstractURL {
/**
* Provides the mime-type format of the expected response data.
*
* @return the mime-type of the onlineResource's data.
*/
String getFormat();
/**
* Provides the {@code OnLineResource} this {@code AbstractURL} represents. The
* {@code OnLineResource} contains the actual {@code java.net.URI} to connect to.
*
* @return the linkage
*/
OnLineResource getOnlineResource();
}
Ads help maintain this website.