Package org.geotools.styling

Examples of org.geotools.styling.StyleAttributeExtractorTruncated


      // if known dynamic symbolizer return the style
      if (dynamicSymbolizers.containsKey(key)) {
        return style;
      } else {
        // lets see if it's static or dynamic
        StyleAttributeExtractorTruncated sae = new StyleAttributeExtractorTruncated();
        sae.visit(symbolizer);

        Set nameSet = sae.getAttributeNameSet();
        boolean noAttributes = (nameSet == null) || (nameSet.size() == 0);
        if (noAttributes && !sae.isUsingVolatileFunctions()) {
          staticSymbolizers.put(key, style);
        } else {
          dynamicSymbolizers.put(key, Boolean.TRUE);
        }
      }
View Full Code Here

TOP

Related Classes of org.geotools.styling.StyleAttributeExtractorTruncated

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.