| org.obe.event.ContentHandler
All known Subclasses: org.obe.event.AbstractContentHandler,
ContentHandler | public interface ContentHandler (Code) | | Provides support for classifying Java objects by MIME media type.
author: Adrian Price |
process | ApplicationEvent[] process(Object data, Map attrs, String contentType) throws RepositoryException(Code) | | Wraps an arbitrary Java object into one or more application events. The
handler may process the object in various ways including converting it to
a different type (e.g., from an XML string to an XML document), or
splitting it up into separate sub-objects (e.g., bursting a MIME
multipart message into its constituent body parts).
Parameters: data - Raw event data. Parameters: attrs - Attributes describing the raw event data. Optional. Parameters: contentType - The full MIME type/subtype as determined by a priorcall to ContentHandler.getContentType(Object). One or more application events. throws: RepositoryException - |
|
|