/[schmitzm]/trunk/src/skrueger/geotools/StyledFS.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/StyledFS.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 336 by alfonx, Thu Aug 27 09:10:10 2009 UTC revision 422 by alfonx, Fri Oct 2 00:47:48 2009 UTC
# Line 34  import java.io.FileNotFoundException; Line 34  import java.io.FileNotFoundException;
34  import java.io.IOException;  import java.io.IOException;
35  import java.net.URL;  import java.net.URL;
36  import java.util.Date;  import java.util.Date;
 import java.util.HashMap;  
 import java.util.Map;  
37  import java.util.Random;  import java.util.Random;
38    
39  import javax.swing.ImageIcon;  import javax.swing.ImageIcon;
# Line 81  public class StyledFS implements StyledF Line 79  public class StyledFS implements StyledF
79    
80          private File sldFile;          private File sldFile;
81    
82          private HashMap<Integer, AttributeMetaData> map;          private AttributeMetadataMap map;
83    
84          /**          /**
85           * This class enables a non Atlas context to use the Atlas LayerPanel           * This class enables a non Atlas context to use the Atlas LayerPanel
# Line 226  public class StyledFS implements StyledF Line 224  public class StyledFS implements StyledF
224          /**          /**
225           *           *
226           */           */
227          public Map<Integer, AttributeMetaData> getAttributeMetaDataMap() {          public AttributeMetadataMap getAttributeMetaDataMap() {
228                  if (map == null) {                  if (map == null) {
229    
230                          map = new HashMap<Integer, AttributeMetaData>();                          map = new AttributeMetadataMap();
231    
232                          // Leaving out the first one, it will be the_geom                          // Leaving out the first one, it will be the_geom
233                          for (int i = 1; i < fs.getSchema().getAttributeCount(); i++) {                          for (int i = 1; i < fs.getSchema().getAttributeCount(); i++) {

Legend:
Removed from v.336  
changed lines
  Added in v.422

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26