@Override public void end(InterpretationContext ic, String name) throws ActionException { this.depth--; if (this.depth != 0) { return; } ic.removeInPlayListener(this); verifyAndPop(ic); if (this.acceptsProfile) { addEventsToPlayer(ic); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, sa.getDiscriminatorKey(), propertyMap); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if(!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, sa .getDiscriminatorKey(), propertyMap); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ec, String name) throws ActionException { ec.removeInPlayListener(this); }
/** {@inheritDoc} */ @Override public void end(InterpretationContext ic, String name) throws ActionException { depth--; if (depth != 0) { return; } ic.removeInPlayListener(this); if (accepts) { events.remove(0); events.remove(events.size() - 1); ic.getJoranInterpreter().getEventPlayer().addEventsDynamically(events, 1); } events.clear(); }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if(!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if(!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if(!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if (!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if (!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { if (!weAreActive(ic)) return; ThenActionState state = stateStack.pop(); if (state.isRegistered) { ic.removeInPlayListener(state); Object o = ic.peekObject(); if (o instanceof IfAction) { IfAction ifAction = (IfAction) o; removeFirstAndLastFromList(state.eventList); registerEventList(ifAction, state.eventList); } else { throw new IllegalStateException("Missing IfAction on top of stack"); } } }
@Override public void end(InterpretationContext ec, String name) throws ActionException { ec.removeInPlayListener(this); Object o = ec.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; AppenderFactory appenderFactory = new AppenderFactory(seList, sa .getDiscriminatorKey()); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ec, String name) throws ActionException { ec.removeInPlayListener(this); Object o = ec.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; AppenderFactory appenderFactory = new AppenderFactory(seList, sa .getDiscriminatorKey()); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, sa .getDiscriminatorKey(), propertyMap); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender siftingAppender = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, siftingAppender.getDiscriminatorKey(), propertyMap); siftingAppender.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, sa.getDiscriminatorKey(), propertyMap); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, sa.getDiscriminatorKey(), propertyMap); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ic, String name) throws ActionException { ic.removeInPlayListener(this); Object o = ic.peekObject(); if (o instanceof SiftingAppender) { SiftingAppender sa = (SiftingAppender) o; Map<String, String> propertyMap = ic.getCopyOfPropertyMap(); AppenderFactoryUsingJoran appenderFactory = new AppenderFactoryUsingJoran(seList, sa.getDiscriminatorKey(), propertyMap); sa.setAppenderFactory(appenderFactory); } }
@Override public void end(InterpretationContext ec, String name) throws ActionException { ec.removeInPlayListener(this); Object o = ec.peekObject(); if(o instanceof FruitShell) { FruitShell fs = (FruitShell) o; FruitFactory fruitFactory = new FruitFactory(); fruitFactory.setEventList(new ArrayList<SaxEvent>(seList)); fs.setFruitFactory(fruitFactory); } }