Class Tag
java.lang.Object
Tag
- public class Tag
- extends java.lang.Object
Common HTML Tag expressions.
- Version:
- $Id: $
- Author:
- Jim Wiggins, codemonks.org
Constructor Summary |
Tag()
|
Method Summary |
static java.lang.String |
A(java.lang.String href,
java.lang.String s)
|
static java.lang.String |
attr(java.lang.String name,
java.lang.String value)
Create a ' name="value"' string, quoting all double quotes in value |
static java.lang.String |
H(int level,
java.lang.String s)
|
static java.lang.String |
HEAD(java.lang.String title)
|
static java.lang.String |
LI(java.lang.String s)
|
static java.lang.String |
P(java.lang.String s)
|
static java.lang.String |
pager(java.util.Vector items,
int start,
int count,
int stride,
java.lang.String startLink,
java.lang.String prevLink,
java.lang.String nextLink,
java.lang.String endLink)
|
static java.lang.String |
PRE(java.lang.String s)
|
static java.lang.String |
quote(java.lang.String s)
Insert backslash in front of all double quote chars in string |
static java.lang.String |
UL(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tag
public Tag()
quote
public static java.lang.String quote(java.lang.String s)
- Insert backslash in front of all double quote chars in string
attr
public static java.lang.String attr(java.lang.String name,
java.lang.String value)
- Create a ' name="value"' string, quoting all double quotes in value
PRE
public static java.lang.String PRE(java.lang.String s)
P
public static java.lang.String P(java.lang.String s)
H
public static java.lang.String H(int level,
java.lang.String s)
A
public static java.lang.String A(java.lang.String href,
java.lang.String s)
UL
public static java.lang.String UL(java.lang.String s)
LI
public static java.lang.String LI(java.lang.String s)
HEAD
public static java.lang.String HEAD(java.lang.String title)
pager
public static java.lang.String pager(java.util.Vector items,
int start,
int count,
int stride,
java.lang.String startLink,
java.lang.String prevLink,
java.lang.String nextLink,
java.lang.String endLink)