Code example for AttributesImpl

Methods: addAttribute

0
                throw new IllegalArgumentException();
            } 
 
            DescribeLayerRequest req = (DescribeLayerRequest) o;
 
            AttributesImpl versionAtt = new AttributesImpl();
            final String requestVersion = req.getVersion();
            if (requestVersion == null) {
                throw new NullPointerException("requestVersion");
            } 
 
            versionAtt.addAttribute("", "version", "version", "", requestVersion);
 
            start("WMS_DescribeLayerResponse", versionAtt);
 
            handleLayers(req);
 
            end("WMS_DescribeLayerResponse"); 
        } 
 
        /**