Inheritance diagram for tit.observation.io.ObservationDOMWriter:

Public Member Functions | |
| ObservationDOMWriter (Document documentinit, Personality personality) | |
| void | startObservation () throws ObservationInIllegalStateException |
| void | stopObservation (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordFly (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordHop (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordPreen (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordBillwipe (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordBoink (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordPeckRing (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree1 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree2 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree3 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree4 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordTree5 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall1 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall2 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall3 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordWall4 (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordFloor (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordDoorOrWindow (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
| void | recordOtherLocation (long time) throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Private Attributes | |
| Document | document |
| Element | observationelement |
| Element | observationselement |
| tit.observation.io.ObservationDOMWriter.ObservationDOMWriter | ( | Document | documentinit, | |
| Personality | personality | |||
| ) |
Creates a new ObservationXMLWriter.
| documentinit | The DOM document to which the output is written (shouldn't have children). | |
| personality | The Personality belonging to the observation. |
| void tit.observation.io.ObservationDOMWriter.startObservation | ( | ) | throws ObservationInIllegalStateException |
Starts this observation.
| ObservationInIllegalStateException | Is thrown when the observation is not unstarted. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.stopObservation | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Stops this observation.
| time | The time on which the observation is stopped. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordFly | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a fly.
| time | The time on which the fly is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordHop | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a hop.
| time | The time on which the hop is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordPreen | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a preen.
| time | The time on which the preen is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordBillwipe | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a billwipe.
| time | The time on which the billwipe is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordBoink | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a boink.
| time | The time on which the boink is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordPeckRing | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a peckring.
| time | The time on which the peckring is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordTree1 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree1.
| time | The time on which the tree1 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordTree2 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree2.
| time | The time on which the tree2 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordTree3 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree3.
| time | The time on which the tree3 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordTree4 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree4.
| time | The time on which the tree4 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordTree5 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a tree5.
| time | The time on which the tree5 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordWall1 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall1.
| time | The time on which the wall1 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordWall2 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall2.
| time | The time on which the wall2 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordWall3 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall3.
| time | The time on which the wall3 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordWall4 | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a wall4.
| time | The time on which the wall4 is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordFloor | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a floor.
| time | The time on which the floor is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordDoorOrWindow | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a doororwindow.
| time | The time on which the doororwindow is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
| void tit.observation.io.ObservationDOMWriter.recordOtherLocation | ( | long | time | ) | throws ObservationInIllegalStateException, ObservationsInWrongOrderException |
Records a otherlocation.
| time | The time on which the otherlocation is observed. |
| ObservationInIllegalStateException | Is thrown when the observation is not started. | |
| ObservationsInWrongOrderException | Is thrown when this observation's time comes before the time of a previous made observation. |
Reimplemented from tit.observation.Observation.
Document tit.observation.io.ObservationDOMWriter.document [private] |
The DOM document we are producing
Element tit.observation.io.ObservationDOMWriter.observationelement [private] |
The <observation>-element (root) of the document.
Element tit.observation.io.ObservationDOMWriter.observationselement [private] |
The <observations>-element of the document.
1.5.1