MCPcopy Create free account
hub / github.com/apache/tomcat / push

Method push

java/org/apache/tomcat/util/digester/Digester.java:1934–1941  ·  view source on GitHub ↗

Push a new object onto the top of the object stack. @param object The new object

(Object object)

Source from the content-addressed store, hash-verified

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

Callers 15

parseMethod · 0.95
doTestValidateVersionMethod · 0.95
doTestToXmlMethod · 0.95
testWebappMethod · 0.95
testWebapp_2_2Method · 0.95
testWebapp_2_3Method · 0.95
testWebapp_2_4Method · 0.95
testWebapp_2_5Method · 0.95
testWebapp_3_0Method · 0.95
testWebapp_3_1Method · 0.95

Calls 2

pushMethod · 0.65
isEmptyMethod · 0.45

Tested by 15

parseMethod · 0.76
doTestValidateVersionMethod · 0.76
doTestToXmlMethod · 0.76
testWebappMethod · 0.76
testWebapp_2_2Method · 0.76
testWebapp_2_3Method · 0.76
testWebapp_2_4Method · 0.76
testWebapp_2_5Method · 0.76
testWebapp_3_0Method · 0.76
testWebapp_3_1Method · 0.76