示例#1
0
 public Properties getProperties(Properties props) {
   props = super.getProperties(props);
   String prefix = PropUtils.getScopedPropertyPrefix(this);
   props.put(prefix + NAME_ATTRIBUTE, PropUtils.unnull(name));
   props.put(prefix + DESCRIPTION_ATTRIBUTE, PropUtils.unnull(description));
   return props;
 }
示例#2
0
  public Properties getProperties(Properties props) {
    props = super.getProperties(props);

    String prefix = PropUtils.getScopedPropertyPrefix(this);

    props.put(prefix + WMSServerProperty, PropUtils.unnull(wmsServer));
    props.put(prefix + ImageFormatProperty, PropUtils.unnull(imageFormat));
    props.put(prefix + TransparentProperty, PropUtils.unnull(transparent));
    props.put(prefix + BackgroundColorProperty, PropUtils.unnull(backgroundColor));
    props.put(prefix + WMSVersionProperty, PropUtils.unnull(wmsVersion));
    props.put(prefix + LayersProperty, PropUtils.unnull(layers));
    props.put(prefix + StylesProperty, PropUtils.unnull(styles));
    props.put(prefix + VendorSpecificNamesProperty, PropUtils.unnull(vendorSpecificNames));
    props.put(prefix + VendorSpecificValuesProperty, PropUtils.unnull(vendorSpecificValues));
    return props;
  }