|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.h2b.taglets.HtmlUtil
@ClassLabel(copyright="Copyright (C) 2008 Hans-Hermann Bode", ident="$Id: HtmlUtil.java,v 1.2 2008/11/29 01:34:33 h2b Exp $") public class HtmlUtil
A utility class that provides some static methods to produce certain HTML output.
Method Summary | |
---|---|
static java.lang.String |
anchor(java.lang.String name,
java.lang.String text)
Produces an HTML anchor with given name around a text. |
static java.lang.String |
href(java.lang.String name,
java.lang.String text)
Produces a local HTML reference to an anchor with given name around a text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String anchor(java.lang.String name, java.lang.String text)
name
- the name of the anchortext
- the surrounded textpublic static java.lang.String href(java.lang.String name, java.lang.String text)
name
- the name of the anchortext
- the surrounded text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |