org.geotools.styling.Rule.setAbstract()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(106)

本文整理了Java中org.geotools.styling.Rule.setAbstract方法的一些代码示例,展示了Rule.setAbstract的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rule.setAbstract方法的具体详情如下:
包路径:org.geotools.styling.Rule
类名称:Rule
方法名:setAbstract

Rule.setAbstract介绍

[英]Sets the abstract text for the rule.
[中]设置规则的抽象文本。

代码示例

代码示例来源:origin: geotools/geotools

public Rule build() {
  if (unset) {
    return null;
  }
  if (symbolizerBuilder == null && symbolizers.size() == 0) {
    symbolizerBuilder = new PointSymbolizerBuilder();
  }
  if (symbolizerBuilder != null) {
    symbolizers.add(symbolizerBuilder.build());
  }
  Rule rule = sf.createRule();
  rule.setName(name);
  // TODO: rule's description cannot be set
  rule.setTitle(title);
  rule.setAbstract(ruleAbstract);
  rule.setMinScaleDenominator(minScaleDenominator);
  rule.setMaxScaleDenominator(maxScaleDenominator);
  rule.setFilter(filter);
  rule.setElseFilter(elseFilter);
  rule.symbolizers().addAll(symbolizers);
  GraphicLegend gl = legend.build();
  if (gl != null) {
    rule.setLegend(gl);
  }
  if (parent == null) {
    reset();
  }
  return rule;
}

代码示例来源:origin: geotools/geotools

rule.setAbstract(r.str("abstract"));
rule.setAbstract(r.str("abstract"));
context.push(
    r,

代码示例来源:origin: org.geotools/gt2-main

rule.setAbstract(child.getFirstChild().getNodeValue());

代码示例来源:origin: org.geotools/gt-ysld

rule.setAbstract(r.str("abstract"));
rule.setAbstract(r.str("abstract"));

代码示例来源:origin: org.geotools/gt2-main

copy.setAbstract(rule.getAbstract());
copy.setFilter(filterCopy);
copy.setIsElseFilter(rule.hasElseFilter());

代码示例来源:origin: org.geotools.xsd/gt-sld

rule.setAbstract((String) node.getChildValue("Abstract"));

代码示例来源:origin: org.geotools/gt2-main

copy.setAbstract(rule.getAbstract());
copy.setFilter(filterCopy);
copy.setIsElseFilter(rule.hasElseFilter());

相关文章