Esri Geoportal Server
1.0

com.esri.gpt.framework.resource.adapters
Class FlatResourcesAdapter

java.lang.Object
  extended by com.esri.gpt.framework.resource.adapters.FlatResourcesAdapter
All Implemented Interfaces:
Iterable<Resource>

public class FlatResourcesAdapter
extends Object
implements Iterable<Resource>

Flattes collection of resources.


Constructor Summary
FlatResourcesAdapter(Iterable<Resource> resources)
          Creates instance of the adapter.
FlatResourcesAdapter(Resource resource)
          Creates instance of the adapter.
 
Method Summary
 Iterator<Resource> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatResourcesAdapter

public FlatResourcesAdapter(Iterable<Resource> resources)
Creates instance of the adapter.

Parameters:
resources - collection of resources

FlatResourcesAdapter

public FlatResourcesAdapter(Resource resource)
Creates instance of the adapter.

Parameters:
resource - collection of resources
Method Detail

iterator

public Iterator<Resource> iterator()
Specified by:
iterator in interface Iterable<Resource>

Esri Geoportal Server
1.0

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