Codota Logo
WKTUtilities.appendParamMT
Code IndexAdd Codota to your IDE (free)

How to use
appendParamMT
method
in
org.apache.sis.internal.referencing.WKTUtilities

Best Java code snippets using org.apache.sis.internal.referencing.WKTUtilities.appendParamMT (Showing top 15 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.apache.sis.core/sis-referencing

  @Override protected String formatTo(final Formatter formatter) {
    WKTUtilities.appendParamMT(values, formatter);
    return WKTKeywords.Param_MT;
  }
});
origin: org.apache.sis.core/sis-referencing

  /**
   * Formats this group as a pseudo-<cite>Well Known Text</cite> element.
   *
   * @param  formatter  the formatter where to format the inner content of this WKT element.
   * @return {@code "ParameterGroup"}.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    WKTUtilities.appendParamMT(this, formatter);
    return WKTKeywords.ParameterGroup;
  }
}
origin: org.apache.sis.core/sis-referencing

  @Override
  protected String formatTo(final Formatter formatter) {
    WKTUtilities.appendParamMT(parameters, formatter);
    return WKTKeywords.Param_MT;
  }
};
origin: apache/sis

  /**
   * Formats this group as a pseudo-<cite>Well Known Text</cite> element.
   *
   * @param  formatter  the formatter where to format the inner content of this WKT element.
   * @return {@code "ParameterGroup"}.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    WKTUtilities.appendParamMT(this, formatter);
    return WKTKeywords.ParameterGroup;
  }
}
origin: apache/sis

  @Override protected String formatTo(final Formatter formatter) {
    WKTUtilities.appendParamMT(values, formatter);
    return WKTKeywords.Param_MT;
  }
});
origin: apache/sis

  @Override
  protected String formatTo(final Formatter formatter) {
    WKTUtilities.appendParamMT(parameters, formatter);
    return WKTKeywords.Param_MT;
  }
};
origin: org.apache.sis.core/sis-referencing

/**
 * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element.
 * The default implementation formats all parameter values returned by {@link #getParameterValues()}.
 * The parameter group name is used as the math transform name.
 *
 * <div class="note"><b>Compatibility note:</b>
 * {@code Param_MT} is defined in the WKT 1 specification only.
 * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2,
 * then this method silently uses the WKT 1 convention without raising an error
 * (unless this {@code MathTransform} can not be formatted as valid WKT 1 neither).</div>
 *
 * @param  formatter  the formatter to use.
 * @return the WKT element name, which is {@code "Param_MT"} in the default implementation.
 */
@Override
protected String formatTo(final Formatter formatter) {
  WKTUtilities.appendParamMT(getParameterValues(), formatter);
  return WKTKeywords.Param_MT;
}
origin: apache/sis

/**
 * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element.
 * The default implementation formats all parameter values returned by {@link #getParameterValues()}.
 * The parameter group name is used as the math transform name.
 *
 * <div class="note"><b>Compatibility note:</b>
 * {@code Param_MT} is defined in the WKT 1 specification only.
 * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2,
 * then this method silently uses the WKT 1 convention without raising an error
 * (unless this {@code MathTransform} can not be formatted as valid WKT 1 neither).</div>
 *
 * @param  formatter  the formatter to use.
 * @return the WKT element name, which is {@code "Param_MT"} in the default implementation.
 */
@Override
protected String formatTo(final Formatter formatter) {
  WKTUtilities.appendParamMT(getParameterValues(), formatter);
  return WKTKeywords.Param_MT;
}
origin: Geomatys/geotoolkit

  /**
   * Formats the inner part of a
   * <A HREF="http://www.geoapi.org/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html#INVERSE_MT"><cite>Well
   * Known Text</cite> (WKT)</A> element. If this inverse math transform
   * has any parameter values, then this method format the WKT as in the
   * {@linkplain AbstractMathTransform#formatWKT super-class method}. Otherwise
   * this method format the math transform as an <code>"INVERSE_MT"</code> entity.
   *
   * @param  formatter The formatter to use.
   * @return The WKT element name, which is {@code "PARAM_MT"} or
   *         {@code "INVERSE_MT"} in the default implementation.
   */
  @Override
  public String formatTo(final Formatter formatter) {
    final ParameterValueGroup parameters = getParameterValues();
    if (parameters != null) {
      WKTUtilities.appendParamMT(parameters, formatter);
      return "PARAM_MT";
    } else {
      formatter.append((FormattableObject) AbstractMathTransform.this);
      return "INVERSE_MT";
    }
  }
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters.
   *
   * <div class="note"><b>Compatibility note:</b>
   * {@code Param_MT} is defined in the WKT 1 specification only.
   * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2,
   * then this method silently uses the WKT 1 convention without raising an error.</div>
   *
   * @return {@code "Param_MT"} or {@code "Inverse_MT"}.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    if (inverse) {
      formatter.append(new WKT(false));
      return WKTKeywords.Inverse_MT;
    } else {
      WKTUtilities.appendParamMT(getParameterValues(), formatter);
      return WKTKeywords.Param_MT;
    }
  }
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element.
   * If this inverse math transform has any parameter values, then this method formats
   * the WKT as in the {@linkplain AbstractMathTransform#formatWKT super-class method}.
   * Otherwise this method formats the math transform as an {@code "Inverse_MT"} entity.
   *
   * <div class="note"><b>Compatibility note:</b>
   * {@code Param_MT} and {@code Inverse_MT} are defined in the WKT 1 specification only.</div>
   *
   * @param  formatter  the formatter to use.
   * @return the WKT element name, which is {@code "Param_MT"} or
   *         {@code "Inverse_MT"} in the default implementation.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    final ParameterValueGroup parameters = getParameterValues();
    if (parameters != null) {
      WKTUtilities.appendParamMT(parameters, formatter);
      return WKTKeywords.Param_MT;
    } else {
      formatter.newLine();
      formatter.append((FormattableObject) AbstractMathTransform.this);
      return WKTKeywords.Inverse_MT;
    }
  }
}
origin: apache/sis

  /**
   * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters.
   *
   * <div class="note"><b>Compatibility note:</b>
   * {@code Param_MT} is defined in the WKT 1 specification only.
   * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2,
   * then this method silently uses the WKT 1 convention without raising an error.</div>
   *
   * @return {@code "Param_MT"}.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    if (inverse) {
      formatter.newLine();
      formatter.append(new WKT(false));
      return WKTKeywords.Inverse_MT;
    } else {
      WKTUtilities.appendParamMT(ContextualParameters.this, formatter);
      return WKTKeywords.Param_MT;
    }
  }
}
origin: org.apache.sis.core/sis-referencing

  /**
   * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters.
   *
   * <div class="note"><b>Compatibility note:</b>
   * {@code Param_MT} is defined in the WKT 1 specification only.
   * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2,
   * then this method silently uses the WKT 1 convention without raising an error.</div>
   *
   * @return {@code "Param_MT"}.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    if (inverse) {
      formatter.newLine();
      formatter.append(new WKT(false));
      return WKTKeywords.Inverse_MT;
    } else {
      WKTUtilities.appendParamMT(ContextualParameters.this, formatter);
      return WKTKeywords.Param_MT;
    }
  }
}
origin: apache/sis

  /**
   * Formats a <cite>Well Known Text</cite> version 1 (WKT 1) element for a transform using this group of parameters.
   *
   * <div class="note"><b>Compatibility note:</b>
   * {@code Param_MT} is defined in the WKT 1 specification only.
   * If the {@linkplain Formatter#getConvention() formatter convention} is set to WKT 2,
   * then this method silently uses the WKT 1 convention without raising an error.</div>
   *
   * @return {@code "Param_MT"} or {@code "Inverse_MT"}.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    if (inverse) {
      formatter.append(new WKT(false));
      return WKTKeywords.Inverse_MT;
    } else {
      WKTUtilities.appendParamMT(getParameterValues(), formatter);
      return WKTKeywords.Param_MT;
    }
  }
}
origin: apache/sis

  /**
   * Formats the inner part of a <cite>Well Known Text</cite> version 1 (WKT 1) element.
   * If this inverse math transform has any parameter values, then this method formats
   * the WKT as in the {@linkplain AbstractMathTransform#formatWKT super-class method}.
   * Otherwise this method formats the math transform as an {@code "Inverse_MT"} entity.
   *
   * <div class="note"><b>Compatibility note:</b>
   * {@code Param_MT} and {@code Inverse_MT} are defined in the WKT 1 specification only.</div>
   *
   * @param  formatter  the formatter to use.
   * @return the WKT element name, which is {@code "Param_MT"} or
   *         {@code "Inverse_MT"} in the default implementation.
   */
  @Override
  protected String formatTo(final Formatter formatter) {
    final ParameterValueGroup parameters = getParameterValues();
    if (parameters != null) {
      WKTUtilities.appendParamMT(parameters, formatter);
      return WKTKeywords.Param_MT;
    } else {
      formatter.newLine();
      formatter.append((FormattableObject) inverse());
      return WKTKeywords.Inverse_MT;
    }
  }
}
org.apache.sis.internal.referencingWKTUtilitiesappendParamMT

Javadoc

Appends a ParameterValueGroup in a Param_MT[…] element.

Popular methods of WKTUtilities

  • appendName
    Appends the name of the given object to the formatter.
  • suggestFractionDigits
    Suggests an amount of fraction digits to use for formatting numbers in each column of the given sequ
  • toType
    Returns the WKT type of the given interface. For CoordinateSystem base type, the returned value shal
  • append
    Appends a ParameterValue in a PARAMETER[…] element. If the supplied parameter is actually a Paramete
  • isEPSG
    Returns true if the given parameter is defined in the EPSG code space. We handle EPSG parameters in
  • toFormattable
    Returns the given prime meridian as a formattable object.

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JButton (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now