|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.1) E10684-09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.export.FormatHandler
public abstract class FormatHandler
FormatHandler handles the format specific information when export is processed.
Constructor Summary | |
---|---|
FormatHandler() |
Method Summary | |
---|---|
abstract void |
beginWrapDetailItem(ExportContext exportContext, java.lang.Object label) Overridable hook for format handler when we start exporting a component which is inside detail stamp. |
protected java.lang.Object |
createExportTarget(ExportContext exportContext) Overridable hook for format handler to create export target. |
abstract void |
endDataElement(ExportContext exportContext) End a data element. |
abstract void |
endDetailStamp(ExportContext exportContext) End a detail stamp element. |
abstract void |
endRowElement(ExportContext exportContext) End a row element. |
abstract void |
endTableElement(ExportContext exportContext) End a table element. |
abstract void |
endTableHeaderElement(ExportContext exportContext) End a table header element. |
abstract void |
endWrapDetailItem(ExportContext exportContext) Overridable hook for format handler when we end exporting a component which is inside detail stamp. |
abstract java.lang.String |
getContentType(ExportContext exportContext) Retrieves the content type of the content this format handler generates. |
java.lang.String |
getDefaultCharset() Gets the default charset of this export format. |
abstract java.lang.String |
getFormatType() Retrives the export type that this format handler handles. |
int |
getMaximumRecords(ExportContext exportContext) Get the maximum number of rows supported by this format handler. |
abstract void |
postContent(ExportContext exportContext) Overridable hook for each format handler to wrap anything after we end exporting the content. |
abstract void |
preContent(ExportContext exportContext) Overridable hook for each format handler to inject anything before we start exporting the content of the component. |
abstract java.lang.Object |
setupExportTarget(ExportContext exportContext) Sets up the target where the format handler dump the exported content to. |
abstract void |
startDataElement(ExportContext exportContext) Start a data element. |
abstract void |
startDetailStamp(ExportContext exportContext) Start a detail stamp element. |
abstract void |
startRowElement(ExportContext exportContext) Start a row element. |
abstract void |
startTableElement(ExportContext exportContext) Start a table element. |
abstract void |
startTableHeaderElement(ExportContext exportContext) Start a table header element. |
abstract void |
writeColSpan(ExportContext exportContext, int colspan) Handles column span attribute if it is supported. |
abstract void |
writeRowSpan(ExportContext exportContext, int rowspan) Handles row span attribute if it is supoorted. |
abstract void |
writeText(ExportContext exportContext, java.lang.Object text, java.lang.String property) Writes text to the export target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormatHandler()
Method Detail |
---|
public abstract java.lang.String getFormatType()
public abstract java.lang.String getContentType(ExportContext exportContext)
public java.lang.String getDefaultCharset()
public abstract java.lang.Object setupExportTarget(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void preContent(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void postContent(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void startTableElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void endTableElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void startRowElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void endRowElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void startTableHeaderElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void endTableHeaderElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void startDataElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void endDataElement(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void startDetailStamp(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void endDetailStamp(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public abstract void writeColSpan(ExportContext exportContext, int colspan) throws java.io.IOException
java.io.IOException
public abstract void writeRowSpan(ExportContext exportContext, int rowspan) throws java.io.IOException
java.io.IOException
public abstract void writeText(ExportContext exportContext, java.lang.Object text, java.lang.String property) throws java.io.IOException
text
- Text to be writtenproperty
- Name of the property of attribute (if any) of the component to be associated withjava.io.IOException
public abstract void beginWrapDetailItem(ExportContext exportContext, java.lang.Object label) throws java.io.IOException
java.io.IOException
public abstract void endWrapDetailItem(ExportContext exportContext) throws java.io.IOException
java.io.IOException
public int getMaximumRecords(ExportContext exportContext)
protected java.lang.Object createExportTarget(ExportContext exportContext) throws java.io.IOException
java.io.IOException
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.1) E10684-09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |