本文整理了Java中org.geotools.styling.Rule.setAbstract
方法的一些代码示例,展示了Rule.setAbstract
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rule.setAbstract
方法的具体详情如下:
包路径:org.geotools.styling.Rule
类名称: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());
内容来源于网络,如有侵权,请联系作者删除!