it.geosolutions.geoserver.rest.encoder.metadata
Class GSDimensionInfoEncoder

java.lang.Object
  extended by it.geosolutions.geoserver.rest.encoder.utils.XmlElement
      extended by it.geosolutions.geoserver.rest.encoder.metadata.GSDimensionInfoEncoder
Direct Known Subclasses:
GSFeatureDimensionInfoEncoder

public class GSDimensionInfoEncoder
extends XmlElement

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

Nested Class Summary
static class GSDimensionInfoEncoder.Presentation
          Enum for presentation mode
static class GSDimensionInfoEncoder.PresentationDiscrete
          Enum for presentation mode which needs arguments
 
Field Summary
static String DIMENSIONINFO
           
static String PRESENTATION
           
static String RESOLUTION
           
 
Constructor Summary
GSDimensionInfoEncoder()
          build an not enabled dimension
GSDimensionInfoEncoder(boolean enabled)
          Build a dimension
 
Method Summary
 void addPresentation(GSDimensionInfoEncoder.Presentation pres)
          Deprecated. will be set to protected in the next release setPresentation(final Presentation pres)
 void addPresentation(GSDimensionInfoEncoder.PresentationDiscrete pres, BigDecimal interval)
          Deprecated. will be set to protected in the next release setPresentation(final PresentationDiscrete pres, final BigDecimal interval)
 void setEnabled(boolean enabled)
           
 void setPresentation(GSDimensionInfoEncoder.Presentation pres)
           
 void setPresentation(GSDimensionInfoEncoder.PresentationDiscrete pres, BigDecimal interval)
           
 
Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement
add, add, addContent, getRoot, isEmpty, remove, set, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIMENSIONINFO

public static final String DIMENSIONINFO
See Also:
Constant Field Values

RESOLUTION

public static final String RESOLUTION
See Also:
Constant Field Values

PRESENTATION

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

GSDimensionInfoEncoder

public GSDimensionInfoEncoder(boolean enabled)
Build a dimension

Parameters:
enabled - enable dimension if true

GSDimensionInfoEncoder

public GSDimensionInfoEncoder()
build an not enabled dimension

Method Detail

setEnabled

public void setEnabled(boolean enabled)

addPresentation

public void addPresentation(GSDimensionInfoEncoder.Presentation pres)
Deprecated. will be set to protected in the next release setPresentation(final Presentation pres)

Parameters:
pres -

setPresentation

public void setPresentation(GSDimensionInfoEncoder.Presentation pres)

addPresentation

public void addPresentation(GSDimensionInfoEncoder.PresentationDiscrete pres,
                            BigDecimal interval)
Deprecated. will be set to protected in the next release setPresentation(final PresentationDiscrete pres, final BigDecimal interval)

Parameters:
pres -
interval -

setPresentation

public void setPresentation(GSDimensionInfoEncoder.PresentationDiscrete pres,
                            BigDecimal interval)


Copyright © 2007-2012 GeoSolutions. All Rights Reserved.