Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/LabelEngineReader.java @ 181:0bde090506f9
Added comments.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 11 Jul 2011 14:28:38 +0200 |
parents | f4eb506499f5 |
children | df4e0946ef02 |
comparison
equal
deleted
inserted
replaced
180:f4eb506499f5 | 181:0bde090506f9 |
---|---|
36 */ | 36 */ |
37 private LabelEngineLayerProperties properties; | 37 private LabelEngineLayerProperties properties; |
38 private MapToXMLUtils util; | 38 private MapToXMLUtils util; |
39 private Element parent; | 39 private Element parent; |
40 | 40 |
41 /** | |
42 * Constructor with annotation properties. | |
43 * | |
44 * @param prop The annotation properties object. | |
45 */ | |
41 public LabelEngineReader(IAnnotateLayerProperties prop) | 46 public LabelEngineReader(IAnnotateLayerProperties prop) |
42 throws Exception { | 47 throws Exception { |
43 if(prop instanceof LabelEngineLayerProperties) { | 48 if(prop instanceof LabelEngineLayerProperties) { |
44 this.properties = (LabelEngineLayerProperties)prop; | 49 this.properties = (LabelEngineLayerProperties)prop; |
45 } | 50 } |
57 */ | 62 */ |
58 public void setUtil(MapToXMLUtils util) { | 63 public void setUtil(MapToXMLUtils util) { |
59 this.util = util; | 64 this.util = util; |
60 } | 65 } |
61 | 66 |
67 /** | |
68 * Setter for the parent DOM element. | |
69 * | |
70 * @param parent The parent DOM element. | |
71 */ | |
62 public void setParent(Element parent) { | 72 public void setParent(Element parent) { |
63 this.parent = parent; | 73 this.parent = parent; |
64 } | 74 } |
65 | |
66 | |
67 | 75 |
68 /** | 76 /** |
69 * Reads the Label content. | 77 * Reads the Label content. |
70 * | 78 * |
71 * @return The label XML element. | 79 * @return The label XML element. |