org.salespointframework.web.html.viewrepresentations
Interface HtmlViewRepresentation

All Known Implementing Classes:
DefaultHtmlViewRepresentation, NativeHtmlCssTable, NativeHtmlList, NativeHtmlTable

public interface HtmlViewRepresentation

This interface declares a view-representation in HTML.
It's using by View.

Author:
Lars Kreisz, Uwe Schmidt
See Also:
NativeHtmlCssTable, NativeHtmlList, NativeHtmlTable, DefaultHtmlViewRepresentation

Method Summary
 java.lang.String getCaption(java.lang.String style, java.lang.String styleName)
          HtmlViewRepresentation-Caption-Start-tag
 java.lang.String getCaptioneEnd()
          HtmlViewRepresentation-Caption-End-tag
 java.lang.String getCellEnd()
          HtmlViewRepresentation-Cell-End-tag
 java.lang.String getCellStart(java.lang.String styleName)
          HtmlViewRepresentation-Cell-Start-tag
 java.lang.String getCol(java.lang.String width, java.lang.String span)
          HtmlViewRepresentation-Column-Start-tag
 java.lang.String getColEnd()
          HtmlViewRepresentation-Column-End-tag
 java.lang.String getColGroup(java.lang.String width, java.lang.String span)
          HtmlViewRepresentation-ColGroup-Start-tag
 java.lang.String getColGroupEnd()
          HtmlViewRepresentation-ColGroup-End-tag
 java.lang.String getColXHtml(java.lang.String width, java.lang.String span)
          HtmlViewRepresentation-Column-Start-XHTML-tag
 java.lang.String getEnd()
          HtmlViewRepresentation-End-tag
 java.lang.String getHeadEnd()
          HtmlViewRepresentation-Head-End-tag
 java.lang.String getHeadStart(java.lang.String styleName)
          HtmlViewRepresentation-Head-Start-tag
 java.lang.String getRowEnd()
          HtmlViewRepresentation-Row-End-tag
 java.lang.String getRowStart()
          HtmlViewRepresentation-Row-Start-tag
 java.lang.String getStart(java.lang.String id, java.lang.String styleName, java.lang.String style)
          HtmlViewRepresentation-Start-tag
 java.lang.String getTBody(java.lang.String style, java.lang.String styleName)
          HtmlViewRepresentation-Body-Start-tag
 java.lang.String getTBodyEnd()
          HtmlViewRepresentation-Body-End-tag
 java.lang.String getTFoot(java.lang.String style, java.lang.String styleName)
          HtmlViewRepresentation-Foot-Start-tag
 java.lang.String getTFootEnd()
          HtmlViewRepresentation-Foot-End-tag
 java.lang.String getTHead(java.lang.String style, java.lang.String styleName)
          HtmlViewRepresentation-Head-Start-tag
 java.lang.String getTHeadEnd()
          HtmlViewRepresentation-Head-End-tag
 boolean hasBody()
           
 boolean hasCaption()
           
 boolean hasFooter()
           
 boolean hasHeader()
           
 boolean hasSummary()
           
 void setSummary(java.lang.String summary)
           
 

Method Detail

hasHeader

boolean hasHeader()

hasBody

boolean hasBody()

hasFooter

boolean hasFooter()

hasSummary

boolean hasSummary()

hasCaption

boolean hasCaption()

setSummary

void setSummary(java.lang.String summary)

getStart

java.lang.String getStart(java.lang.String id,
                          java.lang.String styleName,
                          java.lang.String style)
HtmlViewRepresentation-Start-tag

Parameters:
id - The value of the id-attribute of the rendered tag. Be sure it's unique for the whole HTML document.
styleName - The value of the class-attribute of the rendered tag.
style - The value of the style-attribute of the rendered tag.
Returns:
String of HTML-code

getEnd

java.lang.String getEnd()
HtmlViewRepresentation-End-tag

Returns:
String of HTML-code

getHeadStart

java.lang.String getHeadStart(java.lang.String styleName)
HtmlViewRepresentation-Head-Start-tag

Parameters:
styleName - The value of the class-attribute of the rendered tag.
Returns:
String of HTML-code

getHeadEnd

java.lang.String getHeadEnd()
HtmlViewRepresentation-Head-End-tag

Returns:
String of HTML-code

getRowStart

java.lang.String getRowStart()
HtmlViewRepresentation-Row-Start-tag

Returns:
String of HTML-code

getRowEnd

java.lang.String getRowEnd()
HtmlViewRepresentation-Row-End-tag

Returns:
String of HTML-code

getCellStart

java.lang.String getCellStart(java.lang.String styleName)
HtmlViewRepresentation-Cell-Start-tag

Parameters:
styleName - The value of the class-attribute of the rendered tag.
Returns:
String of HTML-code

getCellEnd

java.lang.String getCellEnd()
HtmlViewRepresentation-Cell-End-tag

Returns:
String of HTML-code

getCaption

java.lang.String getCaption(java.lang.String style,
                            java.lang.String styleName)
HtmlViewRepresentation-Caption-Start-tag

Parameters:
style - The value of the style-attribute of the rendered tag.
styleName - The value of the class-attribute of the rendered tag.
Returns:
String of HTML-code

getCaptioneEnd

java.lang.String getCaptioneEnd()
HtmlViewRepresentation-Caption-End-tag

Returns:
String of HTML-code

getCol

java.lang.String getCol(java.lang.String width,
                        java.lang.String span)
HtmlViewRepresentation-Column-Start-tag

Parameters:
width - The value of the width-attribute of the rendered tag.
span - The value of the span-attribute of the rendered tag.
Returns:
String of HTML-code

getColEnd

java.lang.String getColEnd()
HtmlViewRepresentation-Column-End-tag

Returns:
String of HTML-code

getColXHtml

java.lang.String getColXHtml(java.lang.String width,
                             java.lang.String span)
HtmlViewRepresentation-Column-Start-XHTML-tag

Parameters:
width - The value of the width-attribute of the rendered tag.
span - The value of the span-attribute of the rendered tag.
Returns:
String of HTML-code

getColGroup

java.lang.String getColGroup(java.lang.String width,
                             java.lang.String span)
HtmlViewRepresentation-ColGroup-Start-tag

Parameters:
width - The value of the width-attribute of the rendered tag.
span - The value of the span-attribute of the rendered tag.
Returns:
String of HTML-code

getColGroupEnd

java.lang.String getColGroupEnd()
HtmlViewRepresentation-ColGroup-End-tag

Returns:
String of HTML-code

getTFoot

java.lang.String getTFoot(java.lang.String style,
                          java.lang.String styleName)
HtmlViewRepresentation-Foot-Start-tag

Parameters:
style - The value of the style-attribute of the rendered tag.
styleName - The value of the class-attribute of the rendered tag.
Returns:
String of HTML-code

getTFootEnd

java.lang.String getTFootEnd()
HtmlViewRepresentation-Foot-End-tag

Returns:
String of HTML-code

getTHead

java.lang.String getTHead(java.lang.String style,
                          java.lang.String styleName)
HtmlViewRepresentation-Head-Start-tag

Parameters:
style - The value of the style-attribute of the rendered tag.
styleName - The value of the class-attribute of the rendered tag.
Returns:
String of HTML-code

getTHeadEnd

java.lang.String getTHeadEnd()
HtmlViewRepresentation-Head-End-tag

Returns:
String of HTML-code

getTBody

java.lang.String getTBody(java.lang.String style,
                          java.lang.String styleName)
HtmlViewRepresentation-Body-Start-tag

Parameters:
style - The value of the style-attribute of the rendered tag.
styleName - The value of the class-attribute of the rendered tag.
Returns:
String of HTML-code

getTBodyEnd

java.lang.String getTBodyEnd()
HtmlViewRepresentation-Body-End-tag

Returns:
String of HTML-code