Tabnine Logo
Formatter.appendAny
Code IndexAdd Tabnine to your IDE (free)

How to use
appendAny
method
in
org.apache.sis.io.wkt.Formatter

Best Java code snippets using org.apache.sis.io.wkt.Formatter.appendAny (Showing top 6 results out of 315)

origin: org.apache.sis.core/sis-metadata

final int length = Array.getLength(value);
for (int i=0; i<length; i++) {
  appendAny(Array.get(value, i));
origin: apache/sis

  setInvalidWKT(value.getClass().getSimpleName(), null);
appendAny(Array.get(value, i));
origin: org.apache.sis.core/sis-referencing

final Object defaultValue = ((ParameterDescriptor<?>) this).getDefaultValue();
if (defaultValue != null) {
  formatter.appendAny(defaultValue);
origin: apache/sis

final Object defaultValue = ((ParameterDescriptor<?>) this).getDefaultValue();
if (defaultValue != null) {
  formatter.appendAny(defaultValue);
origin: apache/sis

  return WKTKeywords.ParameterFile;
} else {
  formatter.appendAny(value);
origin: org.apache.sis.core/sis-referencing

  return WKTKeywords.ParameterFile;
} else {
  formatter.appendAny(value);
org.apache.sis.io.wktFormatterappendAny

Javadoc

Appends an object or an array of objects. This method performs the following choices:
  • If the given value is null, then this method appends the " null" string (without quotes).
  • Otherwise if the given value is an array, then this method appends the opening sequence symbol, formats all elements by invoking this method recursively, then appends the closing sequence symbol.
  • Otherwise if the value type is assignable to the argument type of one of the append(…) methods in this class, then the formatting will be delegated to that method.
  • Otherwise the given value is appended as a quoted text with its toString() representation.

Popular methods of Formatter

  • append
    Appends rows of numbers. Each number is separated by a space, and each row is separated by a comma.
  • newLine
    Request a line separator before the next element to format. Invoking this method before any append(…
  • <init>
    Creates a new formatter instance with the specified convention, symbols and indentation.
  • getConvention
    Returns the convention to use for formatting the WKT. The default is Convention#WKT2.
  • getEnclosingElement
    Returns the enclosing WKT element, or null if element being formatted is the root. This method can b
  • getLocale
    Returns the locale to use for localizing InternationalString instances. This is not the locale for
  • indent
    Increases or decreases the indentation. A value of +1 increases the indentation by the amount of spa
  • setInvalidWKT
    Marks the current WKT representation of the given object as not strictly compliant with the WKT spec
  • toWKT
    Returns the WKT formatted by this object.
  • addContextualUnit
    Adds a unit to use for the next measurements of the quantity Q. The given unit will apply to all WKT
  • appendComplement
    Appends the optional complementary attributes common to many IdentifiedObject subtypes. Those attrib
  • appendElement
    Tries to append an object of the KEYWORD[something] form. The given value is typically, but not nece
  • appendComplement,
  • appendElement,
  • appendExact,
  • appendForSubtypes,
  • appendOnNewLine,
  • appendPreset,
  • appendSeparator,
  • appendTemporalExtent,
  • appendValue

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Reference (javax.naming)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now