/*$************************************************************************************************
 **
 ** $Id: AbstractSizedURL.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/AbstractSizedURL.java $
 **
 ** Copyright (C) 2005 Open GIS Consortium, Inc.
 ** All Rights Reserved. http://www.opengis.org/legal/
 **
 *************************************************************************************************/
package org.opengis.layer;


/**
 * Extends the {@code AbstractURL} by adding a width and height for the data retrievable
 * from the linkage.
 *
 * @version Implementation specification 1.3
 * @author Jesse Crossley (SYS Technologies)
 * @since GeoAPI 2.0
 */
public interface AbstractSizedURL extends AbstractURL {
    /**
     * Provides the expected width of the response data.
     *
     * @return the expected width.
     */
    int getWidth();
    
    /**
     * Provides the expected height of the response data.
     *
     * @return the expected height.
     */
    int getHeight();
}

 

Ads help maintain this website.