public class

ResourceUrlInfo

extends Object
java.lang.Object
   ↳ com.esri.core.ogc.ResourceUrlInfo

Class Overview

Contains information on a URL used to access a resource when using REST to access an OGC service. This will consist of the type of resource (eg. "Tile" or "FeatureInfo"); the mime type of the resource; a template URL that can be used to access the resource. The template url will consist of replaceable tokens delimited with '{' and '}'.

Summary

Public Constructors
ResourceUrlInfo(String format, String resourceType, String template)
Used by the XML parsing code to create a new instance of this class.
Public Methods
String getFormat()
Returns the mime type of the associated resource.
String getResourceType()
Returns the type of the associated resource, eg.
String getTemplate()
Returns a template URL that can be processed to produce a URL to access the associated resource.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ResourceUrlInfo (String format, String resourceType, String template)

Used by the XML parsing code to create a new instance of this class.

Parameters
format String: mime type of associated resource
resourceType String: type of associated resource, eg. "Tile" or "FeatureInfo"
template String: template url with replaceable tokens

Public Methods

public String getFormat ()

Returns the mime type of the associated resource.

Returns
String mime type of the associated resource

public String getResourceType ()

Returns the type of the associated resource, eg. "Tile" or "FeatureInfo"

Returns
String type of the associated resource

public String getTemplate ()

Returns a template URL that can be processed to produce a URL to access the associated resource. The template url will consist of replaceable tokens delimited with '{' and '}'.

Returns
String template url with replaceable tokens