public interface GItemTypeInterface
GComponent.beginOfElement(GItemTypeInterface, String, Boolean)
,GComponent.writeCollection(org.jdom.Element, GItemTypeInterface, String, java.util.Map, Boolean)
,GComponent.writeConfigItem(org.jdom.Element, GItemTypeInterface, String, String, java.util.Map, Boolean)
andGFileManipulation.findElement(org.jdom.Element, GItemTypeInterface, String, String)
public enum MyOwnTypes implements GItemTypeInterface { Maneuver, Orbit, Frame, PropulsionSystem, GeodeticPoint }Then you can use your types as arguments for writing/reading/finding GENIUS methods
public void read() { // Reading new orbit beginOfElement(MyOwnTypes.Orbit, "my_orbit"); put(date); put(coordinates); endOfElement(); }
Copyright © 2023. All rights reserved.