Class GSVersionDecoder
- java.lang.Object
-
- it.geosolutions.geoserver.rest.encoder.utils.XmlElement
-
- it.geosolutions.geoserver.rest.decoder.about.GSVersionDecoder
-
public class GSVersionDecoder extends XmlElement
Encode an XML for about/version.xml- Version:
- $Id: $
- Author:
- Carlo Cancellieri - carlo.cancellieri@geo-solutions.it
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGSVersionDecoder.GSAboutResourcestatic classGSVersionDecoder.VERSION
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringABOUTConstantABOUT="about"
-
Constructor Summary
Constructors Constructor Description GSVersionDecoder()Constructor for GSVersionDecoder.GSVersionDecoder(java.lang.String document)Load the string representation into this encoder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GSVersionDecoderbuild(java.lang.String response)buildintcompareTo(GSVersionDecoder.VERSION v)compareToGSVersionDecoder.GSAboutResourcegetGeoServer()getGeoServerGSVersionDecoder.VERSIONgetVersion()getVersion
-
-
-
Field Detail
-
ABOUT
public static final java.lang.String ABOUT
ConstantABOUT="about"- See Also:
- Constant Field Values
-
-
Method Detail
-
getGeoServer
public GSVersionDecoder.GSAboutResource getGeoServer()
getGeoServer
- Returns:
- a
GSVersionDecoder.GSAboutResourceobject.
-
getVersion
public GSVersionDecoder.VERSION getVersion()
getVersion
- Returns:
- a
GSVersionDecoder.VERSIONobject.
-
compareTo
public int compareTo(GSVersionDecoder.VERSION v)
compareTo
- Parameters:
v- aGSVersionDecoder.VERSIONobject.- Returns:
- a int.
- See Also:
Enum.compareTo(Enum)
-
build
public static GSVersionDecoder build(java.lang.String response)
build
- Parameters:
response- aStringobject.- Returns:
- a
GSVersionDecoderobject.
-
-