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

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

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

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

  @Override protected String formatTo(final Formatter formatter) {
    formatter.indent(-1);
    formatter.append(WKTUtilities.toFormattable(crs));
    formatter.indent(+1);
    return type;
  }
});
origin: apache/sis

  @Override protected String formatTo(final Formatter formatter) {
    formatter.indent(-1);
    formatter.append(WKTUtilities.toFormattable(crs));
    formatter.indent(+1);
    return type;
  }
});
origin: org.apache.sis.core/sis-metadata

int base = buffer.length();
elementStart = buffer.appendCodePoint(symbols.getOpeningBracket(0)).length();
indent(+1);
indent(-1);
enclosingElements.remove(stackDepth);
hasContextualUnit >>>= 1;
origin: apache/sis

int base = buffer.length();
elementStart = buffer.appendCodePoint(symbols.getOpeningBracket(0)).length();
indent(+1);
indent(-1);
enclosingElements.remove(stackDepth);
hasContextualUnit >>>= 1;
origin: apache/sis

formatter.indent(+1);
formatter.newLine();
formatter.append(unit);
formatter.indent(-1);
origin: org.apache.sis.core/sis-referencing

formatter.indent(+1);
formatter.newLine();
formatter.append(unit);
formatter.indent(-1);
origin: org.apache.sis.core/sis-referencing

    Constants.EPSG.equalsIgnoreCase(Citations.getCodeSpace(formatter.getNameAuthority()));
formatter.newLine();
formatter.indent(+1);
for (final GeneralParameterValue param : parameters.values()) {
  if (!filter || WKTUtilities.isEPSG(param.getDescriptor(), true)) {
formatter.indent(-1);
origin: apache/sis

    Constants.EPSG.equalsIgnoreCase(Citations.toCodeSpace(formatter.getNameAuthority()));
formatter.newLine();
formatter.indent(+1);
for (final GeneralParameterValue param : parameters.values()) {
  if (!filter || WKTUtilities.isEPSG(param.getDescriptor(), true)) {
formatter.indent(-1);
origin: org.apache.sis.core/sis-referencing

formatter.indent(1);
formatter.append(WKTUtilities.toFormattable(pm));
formatter.indent(-1);
formatter.newLine();
formatter.restoreContextualUnit(angularUnit, oldUnit);
origin: apache/sis

formatter.indent(1);
formatter.append(WKTUtilities.toFormattable(pm));
formatter.indent(-1);
formatter.newLine();
formatter.restoreContextualUnit(angularUnit, oldUnit);
org.apache.sis.io.wktFormatterindent

Javadoc

Increases or decreases the indentation. A value of +1 increases the indentation by the amount of spaces specified at construction time, and a value of -1 reduces it by the same amount.

Popular methods of Formatter

  • append
    Appends a boolean value. The Symbols#getSeparator() will be written before the boolean if needed.
  • 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.
  • appendAny
    Appends an object or an array of objects. This method performs the following choices: * If the given
  • 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
  • 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

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Reference (javax.naming)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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