Class GSCoverageEncoder

    • Field Detail

      • NATIVECOVERAGENAME

        public static final java.lang.String NATIVECOVERAGENAME
        Constant NATIVECOVERAGENAME="nativeCoverageName"
        See Also:
        Constant Field Values
      • DIMENSIONS

        public static final java.lang.String DIMENSIONS
        Constant DIMENSIONS="dimensions"
        See Also:
        Constant Field Values
    • Constructor Detail

      • GSCoverageEncoder

        public GSCoverageEncoder()

        Constructor for GSCoverageEncoder.

      • GSCoverageEncoder

        public GSCoverageEncoder​(boolean encodeLists)

        Constructor for GSCoverageEncoder.

        Parameters:
        encodeLists - a boolean.
    • Method Detail

      • setNativeFormat

        public void setNativeFormat​(java.lang.String format)
        Add the 'nativeFormat' node with a text value
        Parameters:
        format - a String object.
      • addSupportedFormats

        public void addSupportedFormats​(java.lang.String format)
        Add the 'supportedFormat' node with a text value
        Parameters:
        format - a String object.
      • setRequestSRS

        public void setRequestSRS​(java.lang.String srs)
        Add the 'requestSRS' node with a text value
        Parameters:
        srs - a String object.
      • setResponseSRS

        public void setResponseSRS​(java.lang.String srs)
        Add the 'responseSRS' node with a text value
        Parameters:
        srs - a String object.
      • addCoverageDimensionInfo

        public void addCoverageDimensionInfo​(java.lang.String name,
                                             java.lang.String description,
                                             java.lang.String rangeMin,
                                             java.lang.String rangeMax,
                                             java.lang.String unit,
                                             java.lang.String dimensionType)
        Adds quickly a CoverageDimensionInfo to the GeoServer Resource
        Parameters:
        name - a String object.
        description - a String object.
        rangeMin - a String object.
        rangeMax - a String object.
        unit - a String object.
        dimensionType - a String object.
      • delCoverageDimensionInfo

        public boolean delCoverageDimensionInfo​(java.lang.String coverageDimensionName)
        Deletes a CoverageDimensionInfo from the list using the CoverageDimension Name (CoverageDimensionInfo content)
        Parameters:
        coverageDimensionName - a String object.
        Returns:
        true if something is removed, false otherwise
      • addNativeCoverageName

        public void addNativeCoverageName​(java.lang.String nativeCoverageName)
        Add the 'nativeCoverageName' node with a text value from 'name'
        Parameters:
        nativeCoverageName - a String object.
      • setNativeCoverageName

        public void setNativeCoverageName​(java.lang.String nativeCoverageName)
        Set the 'nativeCoverageName' node with a text value from 'name'
        Parameters:
        nativeCoverageName - a String object.
      • getNativeCoverageName

        public java.lang.String getNativeCoverageName()
        Get the nativeCoverageName
        Returns:
        a String object.