Revision 40789 branches/v02_desarrollo/libraries/sld/temp/org.gvsig.sldsupport.lib.api/src/main/java/org/gvsig/sldsupport/sld/layer/SLDUserLayer.java

View differences:

SLDUserLayer.java
3 3
import java.util.ArrayList;
4 4
import java.util.List;
5 5

  
6
import org.gvsig.sldsupport.sld.constraints.SLDLayerFeatureConstraints;
6
import org.gvsig.sldsupport.sld.ows.SLDRemoteOWS;
7 7
import org.gvsig.sldsupport.sld.style.layer.SLDUserStyle;
8 8

  
9 9
public class SLDUserLayer extends SLDLayer {
10 10
	
11
	protected String remoteServiceType = null;
12
	protected String remoteOnlineResource = null;
11
	protected SLDRemoteOWS remoteOWS = null;
13 12
	protected List<SLDUserStyle> userStyles = new ArrayList<SLDUserStyle>();
14 13
	
15
	public SLDUserLayer(
16
			String name,
17
			SLDLayerFeatureConstraints constr,
18
			String svc_type,
19
			String online_res,
20
			String version) {
14
	public SLDUserLayer() {
21 15
		
22
		super(name, constr, version);
23
		remoteServiceType = svc_type;
24
		remoteOnlineResource = online_res;
25 16
	}
26 17
	
27
	/**
28
	 * "WFS", "WCS"
29
	 * @return
30
	 */
31
	public String getRemoteServiceType() {
32
		return this.remoteServiceType;
18
	
19
	public SLDRemoteOWS getRemoteOWS() {
20
		return this.remoteOWS;
33 21
	}
34 22
	
35
	public String getRemoteOnlineResource() {
36
		return this.remoteOnlineResource;
23
	public void setRemoteOWS(SLDRemoteOWS ows) {
24
		this.remoteOWS = ows;
37 25
	}
38 26
	
39 27
	public List<SLDUserStyle> getUserStyles() {

Also available in: Unified diff