Class ContextualParameters.WKT

java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.operation.transform.ContextualParameters.WKT
All Implemented Interfaces:
Parameterized
Enclosing class:
ContextualParameters

private final class ContextualParameters.WKT extends FormattableObject implements Parameterized
Formats the Well Known Text for the transform or the inverse of the transform that would be built from the enclosing ContextualParameters.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final boolean
    true if this proxy is for the inverse transform instead of the direct one.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WKT(boolean inverse)
    Creates a new object to be formatted instead of the enclosing transform.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    formatTo(Formatter formatter)
    Formats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.
    org.opengis.parameter.ParameterDescriptorGroup
    Returns the parameters descriptor.
    org.opengis.parameter.ParameterValueGroup
    Returns the parameter values.

    Methods inherited from class org.apache.sis.io.wkt.FormattableObject

    print, toString, toString, toWKT

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • inverse

      private final boolean inverse
      true if this proxy is for the inverse transform instead of the direct one.
  • Constructor Details

    • WKT

      WKT(boolean inverse)
      Creates a new object to be formatted instead of the enclosing transform.
  • Method Details

    • getParameterDescriptors

      public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
      Returns the parameters descriptor.
      Specified by:
      getParameterDescriptors in interface Parameterized
      Returns:
      the parameter descriptors for this object, or null.
    • getParameterValues

      public org.opengis.parameter.ParameterValueGroup getParameterValues()
      Returns the parameter values.
      Specified by:
      getParameterValues in interface Parameterized
      Returns:
      the parameter values for this object, or null if unknown.
    • formatTo

      protected String formatTo(Formatter formatter)
      Formats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.
      Compatibility note: Param_MT is defined in the WKT 1 specification only. If the formatter convention is set to WKT 2, then this method silently uses the WKT 1 convention without raising an error.
      Specified by:
      formatTo in class FormattableObject
      Parameters:
      formatter - the formatter where to format the inner content of this WKT element.
      Returns:
      "Param_MT".
      See Also: