com.maryanovsky.map.client.opengis.wms
Class Capabilities.UrlWithFormat

java.lang.Object
  extended by com.maryanovsky.map.client.opengis.wms.Capabilities.UrlWithFormat
Direct Known Subclasses:
Capabilities.ImageUrl, Capabilities.Layer.MetadataUrl
Enclosing class:
Capabilities

public static class Capabilities.UrlWithFormat
extends Object

The base class for various classes which specify a URL and the format (mime-type) of the document at that URL.


Constructor Summary
protected Capabilities.UrlWithFormat(Element element)
          Creates a new Capabilities.UrlWithFormat object from the element that defines it.
 
Method Summary
 String getFormat()
          Returns the format (mime-type) of the document at the URL.
 String getUrl()
          Returns the URL of the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Capabilities.UrlWithFormat

protected Capabilities.UrlWithFormat(Element element)
                              throws ParseException
Creates a new Capabilities.UrlWithFormat object from the element that defines it. The element must have Format and OnlineResource child elements.

Throws:
ParseException
Method Detail

getUrl

public final String getUrl()
Returns the URL of the document.


getFormat

public final String getFormat()
Returns the format (mime-type) of the document at the URL.