|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.darwinsys.html.Tag
public class Tag
A series of methods for writing HTML/XML tags. Substantially less capable than Jakarta Element Constructor Set (ECS), but simpler to get started with.
All methods are static for ease of use.
Field Summary | |
---|---|
protected static char |
END
|
protected static char |
LB
|
protected static char |
RB
|
Constructor Summary | |
---|---|
Tag()
|
Method Summary | |
---|---|
static void |
dotag(java.io.PrintWriter out,
java.lang.String tag)
Output an empty tag |
static void |
doTag(java.io.PrintWriter out,
java.lang.String tag,
java.lang.String content)
Output an body-content tag |
static void |
endTag(java.io.PrintWriter out,
java.lang.String tag)
Output an end tag |
static void |
startTag(java.io.PrintWriter out,
java.lang.String tag)
Output a start tag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final char LB
protected static final char RB
protected static final char END
Constructor Detail |
---|
public Tag()
Method Detail |
---|
public static void dotag(java.io.PrintWriter out, java.lang.String tag)
public static void doTag(java.io.PrintWriter out, java.lang.String tag, java.lang.String content)
public static void startTag(java.io.PrintWriter out, java.lang.String tag)
public static void endTag(java.io.PrintWriter out, java.lang.String tag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |