|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.web.html.viewrepresentations.DefaultHtmlViewRepresentation
public abstract class DefaultHtmlViewRepresentation
This is a ViewRepresentation that methods return only empty Stings. So you can overwrite what ever you need.
| Field Summary | |
|---|---|
private static java.lang.String |
EMPTY
|
protected java.lang.String |
summary
|
| Constructor Summary | |
|---|---|
DefaultHtmlViewRepresentation()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCaption(java.lang.String style,
java.lang.String styleName)
Returns an empty string. |
java.lang.String |
getCaptioneEnd()
Returns an empty string. |
java.lang.String |
getCellEnd()
Returns an empty string. |
java.lang.String |
getCellStart(java.lang.String styleName)
Returns an empty string. |
java.lang.String |
getCol(java.lang.String width,
java.lang.String span)
Returns an empty string. |
java.lang.String |
getColEnd()
Returns an empty string. |
java.lang.String |
getColGroup(java.lang.String width,
java.lang.String span)
Returns an empty string. |
java.lang.String |
getColGroupEnd()
Returns an empty string. |
java.lang.String |
getColXHtml(java.lang.String width,
java.lang.String span)
Returns an empty string. |
java.lang.String |
getEnd()
Returns an empty string. |
java.lang.String |
getHeadEnd()
Returns an empty string. |
java.lang.String |
getHeadStart(java.lang.String styleName)
Returns an empty string. |
java.lang.String |
getRowEnd()
Returns an empty string. |
java.lang.String |
getRowStart()
Returns an empty string. |
java.lang.String |
getStart(java.lang.String id,
java.lang.String styleName,
java.lang.String style)
Returns an empty string. |
java.lang.String |
getTBody(java.lang.String style,
java.lang.String styleName)
Returns an empty string. |
java.lang.String |
getTBodyEnd()
Returns an empty string. |
java.lang.String |
getTFoot(java.lang.String style,
java.lang.String styleName)
Returns an empty string. |
java.lang.String |
getTFootEnd()
Returns an empty string. |
java.lang.String |
getTHead(java.lang.String style,
java.lang.String styleName)
Returns an empty string. |
java.lang.String |
getTHeadEnd()
Returns an empty string. |
boolean |
hasBody()
No body will be shown. |
boolean |
hasCaption()
No caption is insert. |
boolean |
hasFooter()
No footer will be shown. |
boolean |
hasHeader()
No header will be shown. |
boolean |
hasSummary()
No summary is insert. |
void |
setSummary(java.lang.String summary)
Set the summary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String EMPTY
protected java.lang.String summary
| Constructor Detail |
|---|
public DefaultHtmlViewRepresentation()
| Method Detail |
|---|
public boolean hasHeader()
hasHeader in interface HtmlViewRepresentationpublic boolean hasBody()
hasBody in interface HtmlViewRepresentationpublic boolean hasFooter()
hasFooter in interface HtmlViewRepresentationpublic boolean hasSummary()
hasSummary in interface HtmlViewRepresentationpublic boolean hasCaption()
hasCaption in interface HtmlViewRepresentationpublic void setSummary(java.lang.String summary)
setSummary in interface HtmlViewRepresentation
public java.lang.String getCaption(java.lang.String style,
java.lang.String styleName)
getCaption in interface HtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getCaptioneEnd()
getCaptioneEnd in interface HtmlViewRepresentationString of HTML-codepublic java.lang.String getCellEnd()
getCellEnd in interface HtmlViewRepresentationString of HTML-codepublic java.lang.String getCellStart(java.lang.String styleName)
getCellStart in interface HtmlViewRepresentationstyleName - The value of the class-attribute of the rendered tag.
String of HTML-code
public java.lang.String getCol(java.lang.String width,
java.lang.String span)
getCol in interface HtmlViewRepresentationwidth - The value of the width-attribute of the rendered tag.span - The value of the span-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getColEnd()
getColEnd in interface HtmlViewRepresentationString of HTML-code
public java.lang.String getColGroup(java.lang.String width,
java.lang.String span)
getColGroup in interface HtmlViewRepresentationwidth - The value of the width-attribute of the rendered tag.span - The value of the span-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getColGroupEnd()
getColGroupEnd in interface HtmlViewRepresentationString of HTML-code
public java.lang.String getColXHtml(java.lang.String width,
java.lang.String span)
getColXHtml in interface HtmlViewRepresentationwidth - The value of the width-attribute of the rendered tag.span - The value of the span-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getEnd()
getEnd in interface HtmlViewRepresentationString of HTML-codepublic java.lang.String getHeadEnd()
getHeadEnd in interface HtmlViewRepresentationString of HTML-codepublic java.lang.String getHeadStart(java.lang.String styleName)
getHeadStart in interface HtmlViewRepresentationstyleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getRowEnd()
getRowEnd in interface HtmlViewRepresentationString of HTML-codepublic java.lang.String getRowStart()
getRowStart in interface HtmlViewRepresentationString of HTML-code
public java.lang.String getStart(java.lang.String id,
java.lang.String styleName,
java.lang.String style)
getStart in interface HtmlViewRepresentationid - 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.
String of HTML-code
public java.lang.String getTBody(java.lang.String style,
java.lang.String styleName)
getTBody in interface HtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getTBodyEnd()
getTBodyEnd in interface HtmlViewRepresentationString of HTML-code
public java.lang.String getTFoot(java.lang.String style,
java.lang.String styleName)
getTFoot in interface HtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getTFootEnd()
getTFootEnd in interface HtmlViewRepresentationString of HTML-code
public java.lang.String getTHead(java.lang.String style,
java.lang.String styleName)
getTHead in interface HtmlViewRepresentationstyle - The value of the style-attribute of the rendered tag.styleName - The value of the class-attribute of the rendered tag.
String of HTML-codepublic java.lang.String getTHeadEnd()
getTHeadEnd in interface HtmlViewRepresentationString of HTML-code
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||