This stores the recording in three parts, an array of unique strings used for those events that take {@link String}s and also for attribute strings, an array of characters used for content, an {@link AttributesContainer} and last but not least an array of ints used torecord the main information about the event stream.
Each event is stored as a sequence of ints in the {@link #intArray}, starting with the index of the event type followed by some event specific information.
This recording stores each event type as follows, where a value is stored as a String what is actually stored is an index into the string array:
Nothing stored.
Note: The startPrefixMapping events are not treated separately, rather they are treated as an intergral part of the startElement event (which is as it should be).
Note: The endPrefixMapping events are not treated separately, rather they are treated as an intergral part of the endElement event (which is as it should be).
Note: Consecutive characters event are coalesced into a single event, this typically occurs if the input stream is being produced by a parser that splits the content up into lines and generates an event for each line.
Note: Consecutive ignorableWhitespace event are coalesced into a single event, this typically occurs if the input stream is being produced by a parser that splits the content up into lines and generates an event for each line.
|
|