Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.displaytag.export
Class XmlView  view XmlView download XmlView.java

java.lang.Object
  extended byorg.displaytag.export.BaseExportView
      extended byorg.displaytag.export.XmlView
All Implemented Interfaces:
ExportView, TextExportView

public class XmlView
extends BaseExportView

Export view for xml exporting.

Version:
$Revision: 934 $ ($Author: fgiust $)

Field Summary
 
Fields inherited from class org.displaytag.export.BaseExportView
 
Constructor Summary
XmlView()
           
 
Method Summary
protected  java.lang.String escapeColumnValue(java.lang.Object value)
          can be implemented to escape values for different output.
protected  boolean getAlwaysAppendCellEnd()
          always append cell end string?
protected  boolean getAlwaysAppendRowEnd()
          always append row end string?
protected  java.lang.String getCellEnd()
          String to add after a cell.
protected  java.lang.String getCellStart()
          String to add before a cell.
protected  java.lang.String getDocumentEnd()
          String to add to the end of document.
protected  java.lang.String getDocumentStart()
          String to add to the top of document.
 java.lang.String getMimeType()
          MimeType to return.
protected  java.lang.String getRowEnd()
          String to add after a row.
protected  java.lang.String getRowStart()
          String to add before a row.
 void setParameters(org.displaytag.model.TableModel tableModel, boolean exportFullList, boolean includeHeader, boolean decorateValues)
          initialize the parameters needed for export.
 
Methods inherited from class org.displaytag.export.BaseExportView
doExport, doHeaders, outputPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlView

public XmlView()
Method Detail

setParameters

public void setParameters(org.displaytag.model.TableModel tableModel,
                          boolean exportFullList,
                          boolean includeHeader,
                          boolean decorateValues)
Description copied from interface: ExportView
initialize the parameters needed for export. The method is guarantee be called before doExport() and getMimeType(). Classes implementing ExportView should reset any instance field previously set when this method is called, in order to support instance reusing.

Specified by:
setParameters in interface ExportView
Overrides:
setParameters in class BaseExportView

getRowStart

protected java.lang.String getRowStart()
Description copied from class: BaseExportView
String to add before a row.

Overrides:
getRowStart in class BaseExportView

getRowEnd

protected java.lang.String getRowEnd()
Description copied from class: BaseExportView
String to add after a row.

Overrides:
getRowEnd in class BaseExportView

getCellStart

protected java.lang.String getCellStart()
Description copied from class: BaseExportView
String to add before a cell.

Overrides:
getCellStart in class BaseExportView

getCellEnd

protected java.lang.String getCellEnd()
Description copied from class: BaseExportView
String to add after a cell.

Specified by:
getCellEnd in class BaseExportView

getDocumentStart

protected java.lang.String getDocumentStart()
Description copied from class: BaseExportView
String to add to the top of document.

Overrides:
getDocumentStart in class BaseExportView

getDocumentEnd

protected java.lang.String getDocumentEnd()
Description copied from class: BaseExportView
String to add to the end of document.

Overrides:
getDocumentEnd in class BaseExportView

getAlwaysAppendCellEnd

protected boolean getAlwaysAppendCellEnd()
Description copied from class: BaseExportView
always append cell end string?

Specified by:
getAlwaysAppendCellEnd in class BaseExportView

getAlwaysAppendRowEnd

protected boolean getAlwaysAppendRowEnd()
Description copied from class: BaseExportView
always append row end string?

Specified by:
getAlwaysAppendRowEnd in class BaseExportView

getMimeType

public java.lang.String getMimeType()
Description copied from interface: ExportView
MimeType to return.


escapeColumnValue

protected java.lang.String escapeColumnValue(java.lang.Object value)
Description copied from class: BaseExportView
can be implemented to escape values for different output.

Specified by:
escapeColumnValue in class BaseExportView