XML Files

 

Within this framework, a typical XML file looks like the following:

  <?xml version="1.0" encoding="UTF-8" ?>

- <object class="org.opensourcephysics.controls.OSPApplication">

- <property name="control" type="object">

- <object class="org.opensourcephysics.controls.AnimationControl">

  <property name="initialize_mode" type="boolean">false</property>

  <property name="numpts" type="string">300</property>

  <property name="psi range" type="string">2</property>

  <property name="dt" type="string">0.1</property>

  <property name="x min" type="string">0</property>

  <property name="x max" type="string">1</property>

  <property name="re coef" type="string">{0,0,0,0,0,1}</property>

  <property name="im coef" type="string">{0,0,0,0,0,0}</property>

  <property name="V(x)" type="string">well</property>

  <property name="energy scale" type="string">1</property>

  <property name="time format" type="string">0.00</property>

  </object>

  </property>

- <property name="model" type="object">

  <object class="org.opensourcephysics.davidson.qm.QMSuperpositionApp" />

  </property>

  </object>