|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.output.HTMLTagger
//TODO: lots of duplicate code here and in HTMLPage
Constructor Summary | |
HTMLTagger()
|
Method Summary | |
static java.lang.String |
getBoldText(java.lang.String text)
Returns bolded HTML code for a given String |
static java.lang.String |
getImage(java.lang.String image)
Returns HTML code for a image tag |
static java.lang.String |
getImage(java.lang.String image,
int width,
int height)
Returns HTML code for a image tag |
static java.lang.String |
getImageWithBorder(java.lang.String image)
Returns HTML code for a image tag with a border around the image. |
static java.lang.String |
getImageWithoutBorder(java.lang.String image)
Returns HTML code for a image tag without a border around the image. |
static java.lang.String |
getLink(java.lang.String link,
java.lang.String linkName)
Creates a HTML representation of a hyperlink |
static java.lang.String |
getModuleLink(java.lang.String moduleName)
Returns HTML code for a modulePage link tag |
static java.lang.String |
getModulePageName(java.lang.String moduleName)
Returns code for a modulePage name |
static java.lang.String |
getSummaryPeriod(java.util.Date startDate,
java.util.Date endDate)
generates HTML string describing the summary period of a chart or table |
static java.lang.String |
getSummaryPeriod(java.util.Date startDate,
java.util.Date endDate,
java.lang.String additionalText)
generates HTML string describing the summary period of a chart or table |
static java.lang.String |
getUserLink(java.lang.String userName)
Returns HTML code for a userPage link tag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLTagger()
Method Detail |
public static java.lang.String getLink(java.lang.String link, java.lang.String linkName)
link
- URLlinkName
- Name of the Link
public static java.lang.String getBoldText(java.lang.String text)
text
- Text to bolden
public static java.lang.String getImageWithBorder(java.lang.String image)
image
- URL of the Image to be hyperlinked
public static java.lang.String getImageWithoutBorder(java.lang.String image)
image
- URL of the Image to be hyperlinked
public static java.lang.String getImage(java.lang.String image)
image
- URL of the Image to be hyperlinked
public static java.lang.String getImage(java.lang.String image, int width, int height)
image
- URL of the Image to be hyperlinkedwidth
- width of the Image to be hyperlinkedheight
- height of the Image to be hyperlinked
public static java.lang.String getUserLink(java.lang.String userName)
userName
- userName to be tagged
public static java.lang.String getModuleLink(java.lang.String moduleName)
moduleName
- modulePage to be tagged
public static java.lang.String getModulePageName(java.lang.String moduleName)
moduleName
- modulePage
public static java.lang.String getSummaryPeriod(java.util.Date startDate, java.util.Date endDate)
startDate
- start date of the periodendDate
- end date of the period
public static java.lang.String getSummaryPeriod(java.util.Date startDate, java.util.Date endDate, java.lang.String additionalText)
startDate
- start date of the periodendDate
- end date of the periodadditionalText
- additional text, added to the output string
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |