Tabnine Logo
StyleAttributeExtractor.visitCqlExpression
Code IndexAdd Tabnine to your IDE (free)

How to use
visitCqlExpression
method
in
org.geotools.styling.StyleAttributeExtractor

Best Java code snippets using org.geotools.styling.StyleAttributeExtractor.visitCqlExpression (Showing top 2 results out of 315)

origin: org.geotools/gt-render

/**
 * @see org.geotools.styling.StyleVisitor#visit(org.geotools.styling.ExternalGraphic)
 */
public void visit(ExternalGraphic exgr) {
  // add dynamic support for ExternalGrapic format attribute
  visitCqlExpression(exgr.getFormat());
  try {
    if(exgr.getLocation() != null)
      visitCqlExpression(exgr.getLocation().toString());
  } catch(MalformedURLException e) {
    throw new RuntimeException("Errors while inspecting " +
        "the location of an external graphic", e);
  }
}
origin: org.geotools/gt-render

/**
 * @see org.geotools.styling.StyleVisitor#visit(org.geotools.styling.Mark)
 */
public void visit(Mark mark) {
  if (mark.getFill() != null) {
    mark.getFill().accept(this);
  }
  if (mark.getStroke() != null) {
    mark.getStroke().accept(this);
  }
  
  if(mark.getWellKnownName() != null) {
    if(mark.getWellKnownName() instanceof Literal) {
      visitCqlExpression(mark.getWellKnownName().evaluate(null, String.class));
    } else {
      mark.getWellKnownName().accept(this,null);
    }
  }
}
org.geotools.stylingStyleAttributeExtractorvisitCqlExpression

Javadoc

Handles the special CQL expressions embedded in the style markers since the time

Popular methods of StyleAttributeExtractor

  • <init>
  • visit
  • getAttributeNameSet
  • getAttributeNames
  • getDefaultGeometryUsed
    reads the read-only-property. See GEOS-469
  • getAttributes
    Returns PropertyNames rather than strings (includes namespace info)
  • clear
  • isUsingDynamincProperties

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • From CI to AI: The AI layer in your organization
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