Clear the current contents of the object stack. Calling this method might allow another document of the same type to be correctly parsed. However, this method was not intended for this purpose. In general, a separate Digester object should be created for each document to be parsed.
()
| 1853 | * document to be parsed. |
| 1854 | */ |
| 1855 | public void clear() { |
| 1856 | |
| 1857 | match = ""; |
| 1858 | bodyTexts.clear(); |
| 1859 | params.clear(); |
| 1860 | publicId = null; |
| 1861 | stack.clear(); |
| 1862 | log = null; |
| 1863 | saxLog = null; |
| 1864 | configured = false; |
| 1865 | |
| 1866 | } |
| 1867 | |
| 1868 | |
| 1869 | /** |
no test coverage detected