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

All Known Subinterfaces:
TemplateContentHandler
All Known Implementing Classes:
TemplateContentHandlerImpl

public interface ContentHandler

Interface for a Content Handler.

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

Since:
1.0.1
Version:
1.0.1
Author:
Denilson Nastacio

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

public 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.