code: public ISynchronizationPoint<Exception> closeElement() {
  		if (!Type.START_ELEMENT.equals(event.type))
  			return new SynchronizationPoint<>(new Exception("Invalid call of closeElement: it must be called on a start element"));
  		if (event.isClosed)
  			return new SynchronizationPoint<>(true);
  		ElementContext ctx = event.context.getFirst();
  		return closeElement(ctx);
  	}
docs: Go the the END_ELEMENT event corresponding to the current START_ELEMENT (must be called with a current event to START_ELEMENT).