@Override public void leaveElement(State state, TagName ea) throws SAXException { super.leaveElement(state, ea); try { acc.set(Stack.pop(target), Stack.pop(map)); } catch (AccessorException ex) { handleGenericException(ex,true); } }
@Override public final void endElement(TagName tagName) throws SAXException { pushCoordinator(); try { State child = current; // tell the child that your time is up child.loader.leaveElement(child,tagName); // child.pop will erase them so store them now Object target = child.target; Receiver recv = child.receiver; Intercepter intercepter = child.intercepter; child.pop(); // then let the parent know if(intercepter!=null) target = intercepter.intercept(current,target); if(recv!=null) recv.receive(current,target); } finally { popCoordinator(); } }
@Override public void leaveElement(State state, TagName ea) throws SAXException { super.leaveElement(state, ea); try { acc.set(Stack.pop(target), Stack.pop(map)); } catch (AccessorException ex) { handleGenericException(ex,true); } }
@Override public final void endElement(TagName tagName) throws SAXException { pushCoordinator(); try { State child = current; // tell the child that your time is up child.loader.leaveElement(child,tagName); // child.pop will erase them so store them now Object target = child.target; Receiver recv = child.receiver; Intercepter intercepter = child.intercepter; child.pop(); // then let the parent know if(intercepter!=null) target = intercepter.intercept(current,target); if(recv!=null) recv.receive(current,target); } finally { popCoordinator(); } }
@Override public void leaveElement(State state, TagName ea) throws SAXException { super.leaveElement(state, ea); try { acc.set(Stack.pop(target), Stack.pop(map)); } catch (AccessorException ex) { handleGenericException(ex,true); } }
@Override public void leaveElement(State state, TagName ea) throws SAXException { super.leaveElement(state, ea); try { acc.set(Stack.pop(target), Stack.pop(map)); } catch (AccessorException ex) { handleGenericException(ex,true); } }
@Override public final void endElement(TagName tagName) throws SAXException { pushCoordinator(); try { State child = current; // tell the child that your time is up child.loader.leaveElement(child,tagName); // child.pop will erase them so store them now Object target = child.target; Receiver recv = child.receiver; Intercepter intercepter = child.intercepter; child.pop(); // then let the parent know if(intercepter!=null) target = intercepter.intercept(current,target); if(recv!=null) recv.receive(current,target); } finally { popCoordinator(); } }
@Override public final void endElement(TagName tagName) throws SAXException { pushCoordinator(); try { State child = current; // tell the child that your time is up child.loader.leaveElement(child,tagName); // child.pop will erase them so store them now Object target = child.target; Receiver recv = child.receiver; Intercepter intercepter = child.intercepter; child.pop(); // then let the parent know if(intercepter!=null) target = intercepter.intercept(current,target); if(recv!=null) recv.receive(current,target); } finally { popCoordinator(); } }