TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.tptp.logging.events.cbe
Interface ContentHandler

All Known Subinterfaces:
TemplateContentHandler
All Known Implementing Classes:
TemplateContentHandlerImpl

public interface ContentHandler

Interface representing a ContentHandler.

Instances of CommonBaseEvent use a content handler to complete the contents of the event instance or even modify existing fields.


Method Summary
 void completeEvent(CommonBaseEvent event)
           Allows the content handler to modify or complete the contents of the event passed as a parameter.
 

Method Detail

completeEvent

void completeEvent(CommonBaseEvent event)
                   throws CompletionException

Allows the content handler to modify or complete the contents of the event passed as a parameter.

Parameters:
event - event to modified or completed.
Throws:
CompletionException - if the event cannot be completed for whatever reason.

TPTP 4.5.0 Platform Project
Public API Specification