2 package net.sf.openrocket.preset.xml;
4 import net.sf.openrocket.preset.ComponentPreset;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlRootElement;
11 * Engine block preset XML handler.
13 @XmlRootElement(name = "EngineBlock")
14 @XmlAccessorType(XmlAccessType.FIELD)
15 public class EngineBlockDTO extends CenteringRingDTO {
18 * Default constructor.
20 public EngineBlockDTO() {
24 * Most-useful constructor that maps a EngineBlock preset to a EngineBlockDTO.
26 * @param thePreset the preset
28 * @throws net.sf.openrocket.util.BugException thrown if the expected engine block keys are not in the preset
30 public EngineBlockDTO(ComponentPreset thePreset) {