it.geosolutions.geoserver.rest.decoder
Class RESTResource

java.lang.Object
  extended by it.geosolutions.geoserver.rest.decoder.RESTResource
Direct Known Subclasses:
RESTCoverage, RESTFeatureType

public class RESTResource
extends Object

Parse a resource (FeatureType or Coverage) returned as XML REST objects.

Author:
etj

Field Summary
protected  org.jdom.Element rootElem
           
 
Constructor Summary
RESTResource(org.jdom.Element resource)
           
 
Method Summary
static RESTResource build(String response)
           
 String getAbstract()
           
 List<Map<FeatureTypeAttribute,String>> getAttributeList()
           
 String getCRS()
           
 List<GSAttributeEncoder> getEncodedAttributeList()
           
protected  double getLatLonEdge(String edge)
           
 double getMaxX()
           
 double getMaxY()
           
 double getMinX()
           
 double getMinY()
           
 String getName()
           
 String getNameSpace()
           
 String getNativeName()
           
 String getStoreName()
           
 String getStoreType()
           
 String getStoreUrl()
           
 String getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootElem

protected final org.jdom.Element rootElem
Constructor Detail

RESTResource

public RESTResource(org.jdom.Element resource)
Method Detail

build

public static RESTResource build(String response)

getName

public String getName()

getTitle

public String getTitle()

getNativeName

public String getNativeName()

getAbstract

public String getAbstract()

getNameSpace

public String getNameSpace()

getStoreName

public String getStoreName()

getStoreType

public String getStoreType()

getStoreUrl

public String getStoreUrl()

getCRS

public String getCRS()

getLatLonEdge

protected double getLatLonEdge(String edge)

getMinX

public double getMinX()

getMaxX

public double getMaxX()

getMinY

public double getMinY()

getMaxY

public double getMaxY()

getAttributeList

public List<Map<FeatureTypeAttribute,String>> getAttributeList()

getEncodedAttributeList

public List<GSAttributeEncoder> getEncodedAttributeList()


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.