Basic implementation of a link checker for the JaxMe HTML distribution.
1446144714481449145014511452145314541455145614571458
} public static Event createEvent(QName name, Serializable payload) { ParameterValidation.throwIllegalArgExceptionIfNull(name, "Event name"); Event event = new Event(); event.setName(name); if (payload != null) { event.setPayload(PayloadUtils.getPayloadAsEventPayload(event, payload)); } return event; }
148149150151152153154155156157158159160
{ throw new NotYetImplemented("Need to support multiple events at once..."); } // since we currently don't support sending multiple events to process at once, assume there's only one Event event = events.get(0); eventInvocation.setName(event.getName()); eventInvocation.setPayload(PayloadUtils.getPayloadAsSerializable(event)); // Extensions processExtensionsFrom(eventParams.getClass(), eventParams.getExtensions());
1414141514161417141814191420142114221423142414251426
1417141814191420142114221423142414251426142714281429