@Override public void end(String namespace, String name) throws Exception { digester.pop(); } }
/** * Pop the Node off the top of the stack. */ @Override public void end() throws Exception { digester.pop(); }
/** * Process the end of this element. */ @Override public void end() throws Exception { Object top = digester.pop(); if (digester.log.isDebugEnabled()) { digester.log.debug("[ObjectCreateRule]{" + digester.match + "} Pop " + top.getClass().getName()); } }
/** * Process the end of this element. */ @Override public void end(String namespace, String name) throws Exception { // check if object was created // this only happens if an exception was thrown and we're ignoring them if ( ignoreCreateExceptions && exceptionIgnoredStack != null && !(exceptionIgnoredStack.empty())) { if (exceptionIgnoredStack.pop().booleanValue()) { // creation exception was ignored // nothing was put onto the stack if (digester.log.isTraceEnabled()) { digester.log.trace("[FactoryCreateRule] No creation so no push so no pop"); } return; } } Object top = digester.pop(); if (digester.log.isDebugEnabled()) { digester.log.debug("[FactoryCreateRule]{" + digester.match + "} Pop " + top.getClass().getName()); } }
/** * Invoked by the digester when the closing tag matching this Rule's * pattern is encountered. * </p> * * @param namespace Description of the Parameter * @param name Description of the Parameter * @exception Exception Description of the Exception * * @see #begin */ @Override public void end(String namespace, String name) throws Exception { // see body method for more info String path = digester.getMatch(); PluginRules newRules = (PluginRules) digester.getRules(); List<Rule> rules = newRules.getDecoratedRules().match(namespace, path); fireEndMethods(rules, namespace, name); // pop the stack of PluginRules instances, which // discards all custom rules associated with this plugin digester.setRules(newRules.getParent()); // and get rid of the instance of the plugin class from the // digester object stack. digester.pop(); }
@Override public void end(String namespace, String name) throws Exception { digester.pop(); } }
@Override public void end(String namespace, String name) throws Exception { digester.pop(); } }
@Override public void end(String namespace, String name) throws Exception { digester.pop(); } }
@Override public void end (String namespace, String name) throws Exception { digester.pop(); } });
@Override public void end(String namespace, String name) throws Exception { digester.pop(); } }
@Override public void end (String namespace, String name) throws Exception { digester.pop(); } });
/** * Process the end of this element. */ public void end() throws Exception { Object top = digester.pop(); if (digester.log.isDebugEnabled()) { digester.log.debug("[ObjectCreateRule]{" + digester.match + "} Pop " + top.getClass().getName()); } }
@Override public void end(String namespace, String name) throws Exception { getDigester().pop(); } });
@Override public void end(String namespace, String name) throws Exception { getDigester().pop(); }
/** {@inheritDoc} */ @Override public void begin(String namespace, String name, Attributes attributes) { Object obj = digester.pop(); Attribute attribute = new Attribute(obj); digester.push(attribute); } }
/** {@inheritDoc} */ @Override @SuppressWarnings("PMD.SignatureDeclareThrowsException") public void end() throws Exception { Element subsection = (Element)super.digester.pop(); String description = extractNoteContent(subsection); MethodUtils.invokeExactMethod(digester.peek(), "setValue", description); }
public void end(String namespace, String name) { ComponentBean bean = (ComponentBean) getDigester().pop(); Application application = (Application) getDigester().peek(); application.addComponent(bean.getComponentType(), bean .getComponentClass()); }
public void end(String namespace, String name) { ComponentBean bean = (ComponentBean) getDigester().pop(); Application application = (Application) getDigester().peek(); application.addComponent(bean.getComponentType(), bean .getComponentClass()); }
public void end(String namespace, String name) { ValidatorBean bean = (ValidatorBean) getDigester().pop(); Application application = (Application) getDigester().peek(); application.addValidator(bean.getValidatorId(), bean .getValidatorClass()); }
public void end(String namespace, String name) { BehaviorBean bean = (BehaviorBean) getDigester().pop(); Application application = (Application) getDigester().peek(); application.addBehavior(bean.getBehaviorId(), bean .getBehaviorClass()); }