it.geosolutions.geoserver.rest.decoder
Class RESTStructuredCoverageIndexSchema
java.lang.Object
it.geosolutions.geoserver.rest.decoder.RESTStructuredCoverageIndexSchema
- All Implemented Interfaces:
- Iterable<RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute>
public class RESTStructuredCoverageIndexSchema
- extends Object
- implements Iterable<RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute>
This decode turns index format for a GeoServer StructuredGridCoverageReader into something
useful, giving access to the definition of the single attributes.
This is the XML REST representation:
<Schema>
<attributes>
<Attribute>
<name>the_geom</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>com.vividsolutions.jts.geom.Polygon</binding>
</Attribute>
<Attribute>
<name>location</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>java.lang.String</binding>
</Attribute>
<Attribute>
<name>imageindex</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>java.lang.Integer</binding>
</Attribute>
<Attribute>
<name>time</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>java.sql.Timestamp</binding>
</Attribute>
<Attribute>
<name>elevation</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>java.lang.Double</binding>
</Attribute>
<Attribute>
<name>fileDate</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>java.sql.Timestamp</binding>
</Attribute>
<Attribute>
<name>updated</name>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
<nillable>true</nillable>
<binding>java.sql.Timestamp</binding>
</Attribute>
</attributes>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/it.geosolutions/coveragestores/polyphemus/coverages/V/index/granules.xml" type="application/xml"/>
</Schema>
- Author:
- Simone Giannecchini, GeoSolutions SAS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESTStructuredCoverageIndexSchema
protected RESTStructuredCoverageIndexSchema(org.jdom.Element schema)
- Parameters:
list -
build
public static RESTStructuredCoverageIndexSchema build(String response)
size
public int size()
isEmpty
public boolean isEmpty()
get
public RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute get(int index)
iterator
public Iterator<RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute> iterator()
- Specified by:
iterator in interface Iterable<RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute>
Copyright © 2007-2014 GeoSolutions. All Rights Reserved.