Esri Geoportal Server
1.0

com.esri.gpt.control.webharvest.common
Class CommonResult

java.lang.Object
  extended by com.esri.gpt.control.webharvest.common.CommonResult
All Implemented Interfaces:
Result

public class CommonResult
extends Object
implements Result

Common result implementation.


Constructor Summary
CommonResult(Iterable<Resource> resources)
          Creates instance of the result.
CommonResult(Resource resource)
          Creates instance of the result.
 
Method Summary
 Iterable<Resource> getResources()
          Gets available resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonResult

public CommonResult(Iterable<Resource> resources)
Creates instance of the result.

Parameters:
resources - collection of resources

CommonResult

public CommonResult(Resource resource)
Creates instance of the result.

Parameters:
resource - a single resource
Method Detail

getResources

public Iterable<Resource> getResources()
Description copied from interface: Result
Gets available resources. Retrieved resources are a top-level resources.

Specified by:
getResources in interface Result
Returns:
resources

Esri Geoportal Server
1.0

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