Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.arcgis.metadata
Class ServiceInfo.LayerInfo

java.lang.Object
  extended by com.esri.gpt.catalog.arcgis.metadata.ServiceInfo.LayerInfo
Enclosing class:
ServiceInfo

public static final class ServiceInfo.LayerInfo
extends Object

Layer info.


Constructor Summary
ServiceInfo.LayerInfo(String restUrl, String name, String title, String description, com.esri.arcgisws.Envelope extent)
          Creates instance of the layer info.
 
Method Summary
 String asDublinCore(ApplicationConfiguration cfg, HttpClientRequest http)
          Makes Dublin Core metadata
 String getDescription()
          Gets description.
 com.esri.arcgisws.Envelope getExtent()
          Gets extent.
 String getName()
          Gets name.
 String getResourceUrl()
          Gets resource URL.
 String getTitle()
          Gets title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInfo.LayerInfo

public ServiceInfo.LayerInfo(String restUrl,
                             String name,
                             String title,
                             String description,
                             com.esri.arcgisws.Envelope extent)
Creates instance of the layer info.

Parameters:
restUrl - REST URL of the parent map service
name - layer name (or ID)
title - layer title
description - description
extent - layer extent
Method Detail

getName

public String getName()
Gets name.

Returns:
name

getTitle

public String getTitle()
Gets title.

Returns:
title

getDescription

public String getDescription()
Gets description.

Returns:
description

getExtent

public com.esri.arcgisws.Envelope getExtent()
Gets extent.

Returns:
extent

getResourceUrl

public String getResourceUrl()
Gets resource URL.

Returns:
resource URL

asDublinCore

public String asDublinCore(ApplicationConfiguration cfg,
                           HttpClientRequest http)
                    throws Exception
Makes Dublin Core metadata

Parameters:
cfg - application configuration
http - HTTP client request object
Returns:
metadata text
Throws:
Exception - if generating metadata fails.

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.