code: public void accept(XVisitor visitor, XTrace trace) {
  		/*
  		 * First call.
  		 */
  		visitor.visitEventPre(this, trace);
  		/*
  		 * Visit the attributes.
  		 */
  		for (XAttribute attribute: attributes.values()) {
  			attribute.accept(visitor, this);
  		}
  		/*
  		 * Last call.
  		 */
  		visitor.visitEventPost(this, trace);
  	}
docs: /*
  Runs the given visitor for the given trace on this event.
  
  (non-Javadoc)
  @see org.deckfour.xes.model.XEvent#accept(org.deckfour.xes.model.XVisitor, org.deckfour.xes.model.XTrace)