This will happen within a write lock. This implementation simply parses the inserted content for line breaks and builds up a set of instructions for the element buffer. Replaces the contents of the document with the given element specifications. This is called before insert if the loading is done in bursts. This is the only method called if loading the document entirely in one burst.
Sets attributes for a paragraph.
This method is thread safe, although most Swing methods are not. Please see Threads and Swing for more information. Creates the root element to be used to represent the default document structure. Set the number of tokens to buffer before trying to update the documents element structure. By default, this will be Integer.