comparison src/java/de/intevation/mxd/reader/FeatureClassReader.java @ 43:ef7ca23c4233

Added comments, done some code styling and removed typos.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 15 Apr 2011 15:44:54 +0200
parents 7a927921eb6c
children 0bde090506f9
comparison
equal deleted inserted replaced
42:395307e8b7ee 43:ef7ca23c4233
12 /** 12 /**
13 * Reads FeatureClass information. 13 * Reads FeatureClass information.
14 * 14 *
15 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> 15 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
16 */ 16 */
17 public class FeatureClassReader implements IClassReader{ 17 public class FeatureClassReader
18 implements IClassReader {
18 19
19 private static final Logger logger = Logger.getLogger(FeatureClassReader.class); 20 /**
21 * The Logger.
22 */
23 private static final Logger logger =
24 Logger.getLogger(FeatureClassReader.class);
20 25
26 /**
27 * Private member.
28 */
21 private IClass fclass; 29 private IClass fclass;
30 private Node parent;
22 31
23 private Node parent; 32
24 //Constructor 33 public FeatureClassReader(IClass cl)
25 public FeatureClassReader(IClass cl) throws Exception{ 34 throws Exception {
26 if(cl instanceof FeatureClass) 35 if(cl instanceof FeatureClass) {
27 this.fclass = cl; 36 this.fclass = cl;
28 else 37 }
38 else {
29 throw new Exception("Not a FeatureClass object!" + 39 throw new Exception("Not a FeatureClass object!" +
30 cl.getClass().toString()); 40 cl.getClass().toString());
41 }
31 } 42 }
32 43
33 //Methods
34 /** 44 /**
35 * Reads the Layer content. 45 * Reads the Layer content.
46 *
47 * @return Currently always false.
36 */ 48 */
37 public boolean read() throws IOException{ 49 public boolean read()
38 50 throws IOException {
39 logger.debug("read()"); 51 logger.debug("read() -> not implemented jet.");
40 return false; 52 return false;
41 } 53 }
42 54
43 public void getClassDoc() throws IOException{ 55 public void getClassDoc()
56 throws IOException {
44 logger.debug("getLayer() -> not implemented jet."); 57 logger.debug("getLayer() -> not implemented jet.");
45 return; 58 return;
46 } 59 }
47 60
48 public void setXMLNode(Node node) { 61 public void setXMLNode(Node node) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)