Revision 34026 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wfs/wfs_1_1_0/WFSFeature1_1_0.java

View differences:

WFSFeature1_1_0.java
11 11
import org.gvsig.remoteclient.utils.CapabilitiesTags;
12 12
import org.gvsig.remoteclient.utils.Utilities;
13 13
import org.gvsig.remoteclient.wfs.WFSFeature;
14
import org.gvsig.remoteclient.wfs.WFSServiceInformation;
14 15
import org.gvsig.remoteclient.wfs.schema.GMLTags;
15 16
import org.gvsig.remoteclient.wfs.schema.XMLNameSpace;
16 17

  
......
70 71
    
71 72
    private static final StringUtils stringUtils = CompatLocator.getStringUtils();
72 73
    
73
	public WFSFeature1_1_0() {
74
		
75
	}
74
    WFSFeature1_1_0(WFSServiceInformation serviceInformation) {
75
        super(serviceInformation);
76
    }
76 77
	
77
	public WFSFeature1_1_0(String name) {
78
		super(name);		
78
	WFSFeature1_1_0(WFSServiceInformation serviceInformation, String name) {
79
		super(serviceInformation, name);		
79 80
	}
80 81

  
81 82
	/**
......
140 141
                     }
141 142
				} else if (parser.getName().compareToIgnoreCase(CapabilitiesTags.DEAFAULTSRS)==0){
142 143
				     String value = parser.nextText();
143
                     addSRS(value.trim());                           
144
                     setDefaultSRS(value.trim());                           
144 145
				} else	if (parser.getName().compareToIgnoreCase(CapabilitiesTags.LATLONGBOUNDINGBOX)==0){
145 146
					BoundaryBox bbox = new BoundaryBox();
146 147
					bbox.setSrs(CapabilitiesTags.EPSG_4326);

Also available in: Unified diff