Clear all the data members of the object.
()
| 508 | |
| 509 | /** Clear all the data members of the object. */ |
| 510 | @Override |
| 511 | public void cleanup() { |
| 512 | defaultAnnots = null; |
| 513 | if((namedAnnotSets != null) && (!namedAnnotSets.isEmpty())) |
| 514 | namedAnnotSets.clear(); |
| 515 | if(DEBUG) Out.prln("Document cleanup called"); |
| 516 | if(this.lrPersistentId != null) |
| 517 | Gate.getCreoleRegister().removeCreoleListener(this); |
| 518 | if(this.getDataStore() != null) |
| 519 | this.getDataStore().removeDatastoreListener(this); |
| 520 | } // cleanup() |
| 521 | |
| 522 | |
| 523 | /** Get the specific MIME type for this document, if set */ |
nothing calls this directly
no test coverage detected