it.geosolutions.geoserver.rest.decoder.about
Class GSVersionDecoder

java.lang.Object
  extended by it.geosolutions.geoserver.rest.encoder.utils.XmlElement
      extended by it.geosolutions.geoserver.rest.decoder.about.GSVersionDecoder

public class GSVersionDecoder
extends XmlElement

Encode an XML for about/version.xml

Author:
Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Nested Class Summary
 class GSVersionDecoder.GSAboutResource
           
static class GSVersionDecoder.VERSION
           
 
Field Summary
static String ABOUT
           
 
Constructor Summary
GSVersionDecoder()
           
GSVersionDecoder(String document)
          Load the string representation into this encoder
 
Method Summary
static GSVersionDecoder build(String response)
           
 int compareTo(GSVersionDecoder.VERSION v)
           
 GSVersionDecoder.GSAboutResource getGeoServer()
           
 GSVersionDecoder.VERSION getVersion()
           
 
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement
add, add, addContent, getRoot, isEmpty, remove, set, set, setRoot, setRoot, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABOUT

public static final String ABOUT
See Also:
Constant Field Values
Constructor Detail

GSVersionDecoder

public GSVersionDecoder(String document)
Load the string representation into this encoder

Parameters:
document -

GSVersionDecoder

public GSVersionDecoder()
Method Detail

getGeoServer

public GSVersionDecoder.GSAboutResource getGeoServer()

getVersion

public GSVersionDecoder.VERSION getVersion()

compareTo

public int compareTo(GSVersionDecoder.VERSION v)
Parameters:
v -
Returns:
See Also:
Enum#compareTo(Enum)}

build

public static GSVersionDecoder build(String response)


Copyright © 2007-2014 GeoSolutions. All Rights Reserved.