|
||||||||||
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 HtmlViewRepresentation
public boolean hasBody()
hasBody
in interface HtmlViewRepresentation
public boolean hasFooter()
hasFooter
in interface HtmlViewRepresentation
public boolean hasSummary()
hasSummary
in interface HtmlViewRepresentation
public boolean hasCaption()
hasCaption
in interface HtmlViewRepresentation
public 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 HtmlViewRepresentation
style
- 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 HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCellEnd()
getCellEnd
in interface HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getCellStart(java.lang.String styleName)
getCellStart
in interface HtmlViewRepresentation
styleName
- The value of the class-attribute of the rendered tag.
String
of HTML-codepublic java.lang.String getCol(java.lang.String width, java.lang.String span)
getCol
in interface HtmlViewRepresentation
width
- 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 HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getColGroup(java.lang.String width, java.lang.String span)
getColGroup
in interface HtmlViewRepresentation
width
- 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 HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getColXHtml(java.lang.String width, java.lang.String span)
getColXHtml
in interface HtmlViewRepresentation
width
- 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 HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getHeadEnd()
getHeadEnd
in interface HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getHeadStart(java.lang.String styleName)
getHeadStart
in interface HtmlViewRepresentation
styleName
- The value of the class-attribute of the rendered tag.
String
of HTML-codepublic java.lang.String getRowEnd()
getRowEnd
in interface HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getRowStart()
getRowStart
in interface HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getStart(java.lang.String id, java.lang.String styleName, java.lang.String style)
getStart
in interface HtmlViewRepresentation
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.
String
of HTML-codepublic java.lang.String getTBody(java.lang.String style, java.lang.String styleName)
getTBody
in interface HtmlViewRepresentation
style
- 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 HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getTFoot(java.lang.String style, java.lang.String styleName)
getTFoot
in interface HtmlViewRepresentation
style
- 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 HtmlViewRepresentation
String
of HTML-codepublic java.lang.String getTHead(java.lang.String style, java.lang.String styleName)
getTHead
in interface HtmlViewRepresentation
style
- 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 HtmlViewRepresentation
String
of HTML-code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |