Push a new object onto the top of the object stack. @param object The new object
(Object object)
| 1932 | * @param object The new object |
| 1933 | */ |
| 1934 | public void push(Object object) { |
| 1935 | |
| 1936 | if (stack.isEmpty()) { |
| 1937 | root = object; |
| 1938 | } |
| 1939 | stack.push(object); |
| 1940 | |
| 1941 | } |
| 1942 | |
| 1943 | /** |
| 1944 | * When the Digester is being used as a SAXContentHandler, this method allows you to access the root object that has |