|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.mflow.api.ContentHandlerFactory
Constructor Summary | |
---|---|
ContentHandlerFactory()
|
Method Summary | |
---|---|
abstract ContentHandler |
createContentHandler(javax.activation.DataHandler aDataHandler)
Creates an instance of ContentHandler with the given arguments |
abstract ContentHandler |
createContentHandler(javax.activation.DataSource aDataSource)
Creates an instance of ContentHandler with the given arguments |
abstract ContentHandler |
createContentHandler(java.lang.Object obj,
java.lang.String mimeType)
Creates an instance of ContentHandler with the given arguments |
static ContentHandlerFactory |
getInstance()
|
protected void |
register(ContentHandlerFactory aInstance)
Sets the passed instance to be returned by getInstance() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentHandlerFactory()
Method Detail |
---|
protected final void register(ContentHandlerFactory aInstance)
getInstance()
aInstance
- the new instance to usepublic static ContentHandlerFactory getInstance()
ContentHandlerFactory
public abstract ContentHandler createContentHandler(java.lang.Object obj, java.lang.String mimeType)
ContentHandler
with the given arguments
obj
- the content for the ContentHandler
mimeType
- the mime type for the ContentHandler
ContentHandler
public abstract ContentHandler createContentHandler(javax.activation.DataSource aDataSource)
ContentHandler
with the given arguments
aDataSource
- the DataSource
to back the
ContentHandler
ContentHandler
public abstract ContentHandler createContentHandler(javax.activation.DataHandler aDataHandler)
ContentHandler
with the given arguments
aDataHandler
- the DataHandler
to back the
ContentHandler
ContentHandler
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |