ucar.unidata.util
Class HtmlUtil

java.lang.Object
  extended by ucar.unidata.util.HtmlUtil

public class HtmlUtil
extends Object

Version:
$Id: StringUtil.java,v 1.53 2007/06/01 17:02:44 jeffmc Exp $

Nested Class Summary
static class HtmlUtil.Selector
          Class Selector _more_
 
Field Summary
static String ATTR_ACTION
          _more_
static String ATTR_ALIGN
          _more_
static String ATTR_ALT
          _more_
static String ATTR_BGCOLOR
          _more_
static String ATTR_BORDER
          _more_
static String ATTR_CELLPADDING
          _more_
static String ATTR_CELLSPACING
          _more_
static String ATTR_CLASS
          _more_
static String ATTR_COLS
          _more_
static String ATTR_COLSPAN
          _more_
static String ATTR_ENCTYPE
          _more_
static String ATTR_HEIGHT
          _more_
static String ATTR_HREF
          _more_
static String ATTR_ID
          _more_
static String ATTR_METHOD
          _more_
static String ATTR_MULTIPLE
          _more_
static String ATTR_NAME
          _more_
static String ATTR_ONCLICK
          _more_
static String ATTR_ONMOUSEDOWN
          _more_
static String ATTR_ONMOUSEMOVE
          _more_
static String ATTR_ONMOUSEOUT
          _more_
static String ATTR_ONMOUSEOVER
          _more_
static String ATTR_ONMOUSEUP
          _more_
static String ATTR_READONLY
          _more_
static String ATTR_REL
          _more_
static String ATTR_ROWS
          _more_
static String ATTR_SELECTED
          _more_
static String ATTR_SIZE
          _more_
static String ATTR_SRC
          _more_
static String ATTR_STYLE
          _more_
static String ATTR_TARGET
          _more_
static String ATTR_TITLE
          _more_
static String ATTR_TYPE
          _more_
static String ATTR_VALIGN
          _more_
static String ATTR_VALUE
          _more_
static String ATTR_WIDTH
          _more_
static int blockCnt
          _more_
static String CLASS_BLOCK
          _more_
static String CLASS_CHECKBOX
          _more_
static String CLASS_DISABLEDINPUT
          _more_
static String CLASS_ERRORLABEL
          _more_
static String CLASS_FILEINPUT
          _more_
static String CLASS_FORMLABEL
          _more_
static String CLASS_FORMLABEL_TOP
          _more_
static String CLASS_HIDDENINPUT
          _more_
static String CLASS_INPUT
          _more_
static String CLASS_PASSWORD
          _more_
static String CLASS_RADIO
          _more_
static String CLASS_SELECT
          _more_
static String CLASS_SUBMIT
          _more_
static String CLASS_SUBMITIMAGE
          _more_
static String CLASS_TAB_CONTENT
          _more_
static String CLASS_TAB_CONTENTS
          _more_
static String CLASS_TEXTAREA
          _more_
static String ENTITY_GT
          _more_
static String ENTITY_LT
          _more_
static String ENTITY_NBSP
          _more_
static String HTTP_CONTENT_DESCRIPTION
          _more_
static String HTTP_CONTENT_LENGTH
          _more_
static String HTTP_SET_COOKIE
          _more_
static String HTTP_USER_AGENT
          _more_
static String HTTP_WWW_AUTHENTICATE
          _more_
static String SIZE_10
          _more_
static String SIZE_15
          _more_
static String SIZE_20
          _more_
static String SIZE_25
          _more_
static String SIZE_3
          _more_
static String SIZE_30
          _more_
static String SIZE_4
          _more_
static String SIZE_40
          _more_
static String SIZE_5
          _more_
static String SIZE_50
          _more_
static String SIZE_6
          _more_
static String SIZE_60
          _more_
static String SIZE_7
          _more_
static String SIZE_70
          _more_
static String SIZE_8
          _more_
static String SIZE_80
          _more_
static String SIZE_9
          _more_
static String SIZE_90
          _more_
static String TAG_A
          _more_
static String TAG_B
          _more_
static String TAG_BR
          _more_
static String TAG_CENTER
          _more_
static String TAG_DIV
          _more_
static String TAG_FORM
          _more_
static String TAG_H1
          _more_
static String TAG_H2
          _more_
static String TAG_H3
          _more_
static String TAG_HR
          _more_
static String TAG_I
          _more_
static String TAG_IFRAME
          _more_
static String TAG_IMG
          _more_
static String TAG_INPUT
          _more_
static String TAG_LI
          _more_
static String TAG_LINK
          _more_
static String TAG_NOBR
          _more_
static String TAG_OPTION
          _more_
static String TAG_P
          _more_
static String TAG_PRE
          _more_
static String TAG_SCRIPT
          _more_
static String TAG_SELECT
          _more_
static String TAG_SPAN
          _more_
static String TAG_TABLE
          _more_
static String TAG_TD
          _more_
static String TAG_TEXTAREA
          _more_
static String TAG_TR
          _more_
static String TAG_UL
          _more_
static String TYPE_CHECKBOX
          _more_
static String TYPE_FILE
          _more_
static String TYPE_HIDDEN
          _more_
static String TYPE_IMAGE
          _more_
static String TYPE_INPUT
          _more_
static String TYPE_PASSWORD
          _more_
static String TYPE_RADIO
          _more_
static String TYPE_SUBMIT
          _more_
static String TYPE_TEXTAREA
          _more_
static String VALUE_BOTTOM
          _more_
static String VALUE_CENTER
          _more_
static String VALUE_FALSE
          _more_
static String VALUE_LEFT
          _more_
static String VALUE_MULTIPART
          _more_
static String VALUE_POST
          _more_
static String VALUE_RIGHT
          _more_
static String VALUE_SELECTED
          _more_
static String VALUE_TOP
          _more_
static String VALUE_TRUE
          _more_
 
Constructor Summary
HtmlUtil()
           
 
Method Summary
static String arg(String name, String value)
          _more_
static String arg(String name, String value, boolean encodeArg)
          _more_
static String args(Hashtable args)
          Make the url argument string from the set of given args.
static String args(String[] args)
          _more_
static String attr(String name, String value)
          _more_
static String attrs(String[] pairs)
          _more_
static String attrs(String name, String value)
          _more_
static String attrs(String n1, String v1, String n2, String v2)
          Return a String with n1="v1" n2="v2".
static String attrs(String n1, String v1, String n2, String v2, String n3, String v3)
          Return a String with n1="v1" n2="v2".
static String attrs(String n1, String v1, String n2, String v2, String n3, String v3, String n4, String v4)
          Return a String with n1="v1" n2="v2".
static String b(String inner)
          _more_
static String bold(String v1)
          _more_
static String br()
          _more_
static String br(String line)
          _more_
static String call(String function, String args)
          _more_
static String callln(String function, String args)
          _more_
static String center(String inner)
          _more_
static String checkbox(String name)
          _more_
static String checkbox(String name, String value)
          _more_
static String checkbox(String name, String value, boolean checked)
          _more_
static String checkbox(String name, String value, boolean checked, String extra)
          _more_
static String close(String comp)
          _more_
static String col(String v1)
          _more_
static String col(String v1, String attr)
          _more_
static String colorSelect(String name, String selected)
          _more_
static String colRight(String v1)
          _more_
static String cols(Object[] columns)
          _more_
static String cols(String s1)
          _more_
static String cols(String s1, String s2)
          _more_
static String cols(String s1, String s2, String s3)
          _more_
static String cols(String s1, String s2, String s3, String s4)
          _more_
static String cols(String s1, String s2, String s3, String s4, String s5)
          _more_
static String cols(String s1, String s2, String s3, String s4, String s5, String s6)
          _more_
static String colspan(String s, int cols)
          _more_
static String comma(String[] s)
          _more_
static String comma(String s1, String s2)
          _more_
static String comma(String s1, String s2, String s3)
          _more_
static String comma(String s1, String s2, String s3, String s4)
          _more_
static String comma(String s1, String s2, String s3, String s4, String s5)
          _more_
static String cssClass(String c)
          _more_
static String cssLink(String url)
          _more_
static String disabledInput(String name, Object value, String extra)
          _more_
static String div(String content, String extra)
          _more_
static String entityEncode(String input)
          _more_
static String fileInput(String name, String extra)
          _more_
static String form(String url)
          _more_
static String form(String url, String extra)
          _more_
static String formClose()
          _more_
static String formEntry(String left, String right)
          _more_
static String formEntryTop(String[] cols)
          _more_
static String formEntryTop(String left, String right)
          _more_
static String formEntryTop(String col1, String left, String right)
          _more_
static String formEntryTop(String left, String right, String trExtra, boolean dummy)
          _more_
static String formPost(String url)
          _more_
static String formPost(String url, String extra)
          _more_
static String formTable()
          _more_
static String formTable(String extra)
          _more_
static String formTable(String[] cols)
          _more_
static String formTableClose()
          _more_
static String formTableTop(String[] cols)
          _more_
static String[] getToggle(String label, boolean visible)
          _more_
static String[] getToggle(String label, boolean visible, String hideImg, String showImg)
          _more_
static String h1(String content)
          _more_
static String h2(String content)
          _more_
static String h3(String content)
          _more_
static String hbox(String s1, String s2)
          _more_
static String headerCols(Object[] columns)
          _more_
static String hidden(String name, Object value)
          _more_
static String hidden(String name, Object value, String extra)
          _more_
static String hr()
          _more_
static String href(String url, String label)
          _more_
static String href(String url, String label, String extra)
          _more_
static String id(String c)
          _more_
static String img(String path)
          _more_
static String img(String path, String title)
          _more_
static String img(String path, String title, String extra)
          _more_
static String importJS(String jsUrl)
          _more_
static String input(String name)
          _more_
static String input(String name, Object value)
          _more_
static String input(String name, Object value, int size)
          _more_
static String input(String name, Object value, String extra)
          _more_
static String inset(String html, int space)
          _more_
static String inset(String html, int top, int left, int bottom, int right)
          _more_
static String insetDiv(String html, int top, int left, int bottom, int right)
          _more_
static String insetLeft(String html, int space)
          _more_
static String italics(String inner)
          _more_
static String jsLink(String events, String content)
          _more_
static String jsLink(String events, String content, String extra)
          _more_
static String leftRight(String left, String right)
          _more_
static String leftRight(String left, String right, String attrs)
          _more_
static String li(String inner, String extra)
          _more_
static void main(String[] args)
          _more_
static String makeAreaLabel(double south, double north, double east, double west)
          _more_
static String makeLatLonBox(String baseName, double south, double north, double east, double west)
          _more_
static String makeLatLonBox(String baseName, String southValue, String northValue, String eastValue, String westValue)
          _more_
static String makeLatLonBox(String southArg, String northArg, String eastArg, String westArg, String southValue, String northValue, String eastValue, String westValue)
          _more_
static String makeLatLonInput(String arg, String value)
          _more_
static String makeLatLonInput(String arg, String value, String tip)
          _more_
static String makeShowHideBlock(String label, String content, boolean visible)
          _more_
static String makeShowHideBlock(String label, String content, boolean visible, String headerExtra)
          _more_
static String makeShowHideBlock(String label, String content, boolean visible, String headerExtra, String blockExtra)
          _more_
static String makeShowHideBlock(String label, String content, boolean visible, String headerExtra, String blockExtra, String hideImg, String showImg)
          _more_
static String makeShowHideBlock(String clickHtml, String label, String content, boolean visible)
          _more_
static String makeTabs(List titles, List contents, boolean skipEmpty)
          _more_
static String makeTabs(List titles, List contents, boolean skipEmpty, String tabContentClass)
          _more_
static String makeTabs(List titles, List contents, boolean skipEmpty, String tabContentClass, String wrapperClass)
          _more_
static String makeToggleBlock(String content, StringBuffer contentSB, boolean visible)
          _more_
static String makeToggleInline(String label, String content, boolean visible)
          _more_
static String makeToggleTable(String label, String content, boolean visible)
          _more_
static String mouseClickHref(String call, String label)
          _more_
static String mouseClickHref(String call, String label, String extra)
          _more_
static String nobr(String inner)
          _more_
static String onMouseClick(String call)
          _more_
static String onMouseDown(String call)
          _more_
static String onMouseMove(String call)
          _more_
static String onMouseOut(String call)
          _more_
static String onMouseOver(String call)
          _more_
static String onMouseUp(String call)
          _more_
static String open(String comp)
          _more_
static String open(String comp, String attrs)
          _more_
static String p()
          _more_
static String p(String content)
          _more_
static String pad(String s)
          _more_
static String padLeft(String s)
          _more_
static String padRight(String s)
          _more_
static String password(String name)
          _more_
static String password(String name, String value, String extra)
          _more_
static String pre(String content)
          _more_
static String quote(String s)
          _more_
static String radio(String name, String value, boolean checked)
          _more_
static String row(String row)
          _more_
static String row(String row, String extra)
          _more_
static String rowBottom(String row)
          _more_
static String rowTop(String row)
          _more_
static String script(String s)
          _more_
static String select(String name, List values)
          _more_
static String select(String name, List values, List<String> selected, String extra)
          _more_
static String select(String name, List values, List selected, String extra, int maxLength)
          _more_
static String select(String name, List values, String selected)
          _more_
static String select(String name, List values, String selected, int maxLength)
          _more_
static String select(String name, List values, String selected, String extra)
          _more_
static String select(String name, List values, String selected, String extra, int maxLength)
          _more_
static String select(String name, Object[] values, String selected, int maxLength)
          _more_
static void setBlockHideShowImage(String hideImg, String showImg)
          _more_
static void setInlineHideShowImage(String hideImg, String showImg)
          _more_
static String sizeAttr(int size)
          _more_
static String space(int cnt)
          _more_
static String span(String content, String extra)
          _more_
static String squote(String s)
          _more_
static String style(String c)
          _more_
static String submit(String label)
          _more_
static String submit(String label, String name)
          _more_
static String submitImage(String img, String name)
          _more_
static String submitImage(String img, String name, String alt)
          _more_
static StringBuffer table(List columns, int numCols, String attributes)
          _more_
static String table(Object[] columns)
          _more_
static String table(Object[] columns, int spacing)
          _more_
static String table(String contents)
          _more_
static String table(String contents, String attrs)
          _more_
static String tag(String comp)
          _more_
static String tag(String comp, String attrs)
          _more_
static String tag(String tag, String attrs, String inner)
          _more_
static String textArea(String name, String value, int rows, int columns)
          _more_
static String textArea(String name, String value, int rows, int columns, String extra)
          _more_
static String title(String c)
          _more_
static String ul()
          _more_
static String uploadForm(String url, String extra)
          _more_
static String url(String path, List args)
          _more_
static String url(String path, String[] args)
          _more_
static String url(String path, String[] args, boolean encodeArgs)
          _more_
static String url(String path, String n1, Object v1)
          _more_
static String url(String path, String n1, Object v1, String n2, Object v2)
          _more_
static String url(String path, String n1, Object v1, String n2, Object v2, String n3, Object v3)
          _more_
static String url(String path, String n1, Object v1, String n2, Object v2, String n3, Object v3, String n4, Object v4)
          _more_
static String urlEncode(String s)
          _more_
static String urlEncodeExceptSpace(String s)
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_USER_AGENT

public static final String HTTP_USER_AGENT
_more_

See Also:
Constant Field Values

HTTP_CONTENT_LENGTH

public static final String HTTP_CONTENT_LENGTH
_more_

See Also:
Constant Field Values

HTTP_CONTENT_DESCRIPTION

public static final String HTTP_CONTENT_DESCRIPTION
_more_

See Also:
Constant Field Values

HTTP_WWW_AUTHENTICATE

public static final String HTTP_WWW_AUTHENTICATE
_more_

See Also:
Constant Field Values

HTTP_SET_COOKIE

public static final String HTTP_SET_COOKIE
_more_

See Also:
Constant Field Values

SIZE_3

public static final String SIZE_3
_more_

See Also:
Constant Field Values

SIZE_4

public static final String SIZE_4
_more_

See Also:
Constant Field Values

SIZE_5

public static final String SIZE_5
_more_

See Also:
Constant Field Values

SIZE_6

public static final String SIZE_6
_more_

See Also:
Constant Field Values

SIZE_7

public static final String SIZE_7
_more_

See Also:
Constant Field Values

SIZE_8

public static final String SIZE_8
_more_

See Also:
Constant Field Values

SIZE_9

public static final String SIZE_9
_more_

See Also:
Constant Field Values

SIZE_10

public static final String SIZE_10
_more_

See Also:
Constant Field Values

SIZE_20

public static final String SIZE_20
_more_

See Also:
Constant Field Values

SIZE_15

public static final String SIZE_15
_more_

See Also:
Constant Field Values

SIZE_25

public static final String SIZE_25
_more_

See Also:
Constant Field Values

SIZE_30

public static final String SIZE_30
_more_

See Also:
Constant Field Values

SIZE_40

public static final String SIZE_40
_more_

See Also:
Constant Field Values

SIZE_50

public static final String SIZE_50
_more_

See Also:
Constant Field Values

SIZE_60

public static final String SIZE_60
_more_

See Also:
Constant Field Values

SIZE_70

public static final String SIZE_70
_more_

See Also:
Constant Field Values

SIZE_80

public static final String SIZE_80
_more_

See Also:
Constant Field Values

SIZE_90

public static final String SIZE_90
_more_

See Also:
Constant Field Values

ENTITY_NBSP

public static final String ENTITY_NBSP
_more_

See Also:
Constant Field Values

ENTITY_GT

public static final String ENTITY_GT
_more_

See Also:
Constant Field Values

ENTITY_LT

public static final String ENTITY_LT
_more_

See Also:
Constant Field Values

TAG_A

public static final String TAG_A
_more_

See Also:
Constant Field Values

TAG_B

public static final String TAG_B
_more_

See Also:
Constant Field Values

TAG_BR

public static final String TAG_BR
_more_

See Also:
Constant Field Values

TAG_CENTER

public static final String TAG_CENTER
_more_

See Also:
Constant Field Values

TAG_DIV

public static final String TAG_DIV
_more_

See Also:
Constant Field Values

TAG_FORM

public static final String TAG_FORM
_more_

See Also:
Constant Field Values

TAG_HR

public static final String TAG_HR
_more_

See Also:
Constant Field Values

TAG_H1

public static final String TAG_H1
_more_

See Also:
Constant Field Values

TAG_H2

public static final String TAG_H2
_more_

See Also:
Constant Field Values

TAG_H3

public static final String TAG_H3
_more_

See Also:
Constant Field Values

TAG_I

public static final String TAG_I
_more_

See Also:
Constant Field Values

TAG_IMG

public static final String TAG_IMG
_more_

See Also:
Constant Field Values

TAG_INPUT

public static final String TAG_INPUT
_more_

See Also:
Constant Field Values

TAG_IFRAME

public static final String TAG_IFRAME
_more_

See Also:
Constant Field Values

TAG_LI

public static final String TAG_LI
_more_

See Also:
Constant Field Values

TAG_LINK

public static final String TAG_LINK
_more_

See Also:
Constant Field Values

TAG_NOBR

public static final String TAG_NOBR
_more_

See Also:
Constant Field Values

TAG_OPTION

public static final String TAG_OPTION
_more_

See Also:
Constant Field Values

TAG_P

public static final String TAG_P
_more_

See Also:
Constant Field Values

TAG_PRE

public static final String TAG_PRE
_more_

See Also:
Constant Field Values

TAG_SCRIPT

public static final String TAG_SCRIPT
_more_

See Also:
Constant Field Values

TAG_SPAN

public static final String TAG_SPAN
_more_

See Also:
Constant Field Values

TAG_SELECT

public static final String TAG_SELECT
_more_

See Also:
Constant Field Values

TAG_TABLE

public static final String TAG_TABLE
_more_

See Also:
Constant Field Values

TAG_TD

public static final String TAG_TD
_more_

See Also:
Constant Field Values

TAG_TR

public static final String TAG_TR
_more_

See Also:
Constant Field Values

TAG_TEXTAREA

public static final String TAG_TEXTAREA
_more_

See Also:
Constant Field Values

TAG_UL

public static final String TAG_UL
_more_

See Also:
Constant Field Values

ATTR_ACTION

public static final String ATTR_ACTION
_more_

See Also:
Constant Field Values

ATTR_ALIGN

public static final String ATTR_ALIGN
_more_

See Also:
Constant Field Values

ATTR_ALT

public static final String ATTR_ALT
_more_

See Also:
Constant Field Values

ATTR_BORDER

public static final String ATTR_BORDER
_more_

See Also:
Constant Field Values

ATTR_BGCOLOR

public static final String ATTR_BGCOLOR
_more_

See Also:
Constant Field Values

ATTR_CELLSPACING

public static final String ATTR_CELLSPACING
_more_

See Also:
Constant Field Values

ATTR_CELLPADDING

public static final String ATTR_CELLPADDING
_more_

See Also:
Constant Field Values

ATTR_CLASS

public static final String ATTR_CLASS
_more_

See Also:
Constant Field Values

ATTR_COLS

public static final String ATTR_COLS
_more_

See Also:
Constant Field Values

ATTR_COLSPAN

public static final String ATTR_COLSPAN
_more_

See Also:
Constant Field Values

ATTR_ENCTYPE

public static final String ATTR_ENCTYPE
_more_

See Also:
Constant Field Values

ATTR_HREF

public static final String ATTR_HREF
_more_

See Also:
Constant Field Values

ATTR_HEIGHT

public static final String ATTR_HEIGHT
_more_

See Also:
Constant Field Values

ATTR_ID

public static final String ATTR_ID
_more_

See Also:
Constant Field Values

ATTR_METHOD

public static final String ATTR_METHOD
_more_

See Also:
Constant Field Values

ATTR_MULTIPLE

public static final String ATTR_MULTIPLE
_more_

See Also:
Constant Field Values

ATTR_NAME

public static final String ATTR_NAME
_more_

See Also:
Constant Field Values

ATTR_ONMOUSEMOVE

public static final String ATTR_ONMOUSEMOVE
_more_

See Also:
Constant Field Values

ATTR_ONMOUSEOVER

public static final String ATTR_ONMOUSEOVER
_more_

See Also:
Constant Field Values

ATTR_ONMOUSEUP

public static final String ATTR_ONMOUSEUP
_more_

See Also:
Constant Field Values

ATTR_ONMOUSEOUT

public static final String ATTR_ONMOUSEOUT
_more_

See Also:
Constant Field Values

ATTR_ONMOUSEDOWN

public static final String ATTR_ONMOUSEDOWN
_more_

See Also:
Constant Field Values

ATTR_ONCLICK

public static final String ATTR_ONCLICK
_more_

See Also:
Constant Field Values

ATTR_READONLY

public static final String ATTR_READONLY
_more_

See Also:
Constant Field Values

ATTR_REL

public static final String ATTR_REL
_more_

See Also:
Constant Field Values

ATTR_ROWS

public static final String ATTR_ROWS
_more_

See Also:
Constant Field Values

ATTR_SELECTED

public static final String ATTR_SELECTED
_more_

See Also:
Constant Field Values

ATTR_SIZE

public static final String ATTR_SIZE
_more_

See Also:
Constant Field Values

ATTR_SRC

public static final String ATTR_SRC
_more_

See Also:
Constant Field Values

ATTR_STYLE

public static final String ATTR_STYLE
_more_

See Also:
Constant Field Values

ATTR_TYPE

public static final String ATTR_TYPE
_more_

See Also:
Constant Field Values

ATTR_TITLE

public static final String ATTR_TITLE
_more_

See Also:
Constant Field Values

ATTR_TARGET

public static final String ATTR_TARGET
_more_

See Also:
Constant Field Values

ATTR_VALUE

public static final String ATTR_VALUE
_more_

See Also:
Constant Field Values

ATTR_VALIGN

public static final String ATTR_VALIGN
_more_

See Also:
Constant Field Values

ATTR_WIDTH

public static final String ATTR_WIDTH
_more_

See Also:
Constant Field Values

CLASS_BLOCK

public static final String CLASS_BLOCK
_more_

See Also:
Constant Field Values

CLASS_CHECKBOX

public static final String CLASS_CHECKBOX
_more_

See Also:
Constant Field Values

CLASS_DISABLEDINPUT

public static final String CLASS_DISABLEDINPUT
_more_

See Also:
Constant Field Values

CLASS_ERRORLABEL

public static final String CLASS_ERRORLABEL
_more_

See Also:
Constant Field Values

CLASS_FILEINPUT

public static final String CLASS_FILEINPUT
_more_

See Also:
Constant Field Values

CLASS_FORMLABEL

public static final String CLASS_FORMLABEL
_more_

See Also:
Constant Field Values

CLASS_FORMLABEL_TOP

public static final String CLASS_FORMLABEL_TOP
_more_

See Also:
Constant Field Values

CLASS_HIDDENINPUT

public static final String CLASS_HIDDENINPUT
_more_

See Also:
Constant Field Values

CLASS_INPUT

public static final String CLASS_INPUT
_more_

See Also:
Constant Field Values

CLASS_PASSWORD

public static final String CLASS_PASSWORD
_more_

See Also:
Constant Field Values

CLASS_RADIO

public static final String CLASS_RADIO
_more_

See Also:
Constant Field Values

CLASS_SELECT

public static final String CLASS_SELECT
_more_

See Also:
Constant Field Values

CLASS_SUBMIT

public static final String CLASS_SUBMIT
_more_

See Also:
Constant Field Values

CLASS_SUBMITIMAGE

public static final String CLASS_SUBMITIMAGE
_more_

See Also:
Constant Field Values

CLASS_TAB_CONTENT

public static final String CLASS_TAB_CONTENT
_more_

See Also:
Constant Field Values

CLASS_TAB_CONTENTS

public static final String CLASS_TAB_CONTENTS
_more_

See Also:
Constant Field Values

CLASS_TEXTAREA

public static final String CLASS_TEXTAREA
_more_

See Also:
Constant Field Values

TYPE_FILE

public static final String TYPE_FILE
_more_

See Also:
Constant Field Values

TYPE_PASSWORD

public static final String TYPE_PASSWORD
_more_

See Also:
Constant Field Values

TYPE_SUBMIT

public static final String TYPE_SUBMIT
_more_

See Also:
Constant Field Values

TYPE_IMAGE

public static final String TYPE_IMAGE
_more_

See Also:
Constant Field Values

TYPE_RADIO

public static final String TYPE_RADIO
_more_

See Also:
Constant Field Values

TYPE_INPUT

public static final String TYPE_INPUT
_more_

See Also:
Constant Field Values

TYPE_TEXTAREA

public static final String TYPE_TEXTAREA
_more_

See Also:
Constant Field Values

TYPE_CHECKBOX

public static final String TYPE_CHECKBOX
_more_

See Also:
Constant Field Values

TYPE_HIDDEN

public static final String TYPE_HIDDEN
_more_

See Also:
Constant Field Values

VALUE_BOTTOM

public static final String VALUE_BOTTOM
_more_

See Also:
Constant Field Values

VALUE_CENTER

public static final String VALUE_CENTER
_more_

See Also:
Constant Field Values

VALUE_FALSE

public static final String VALUE_FALSE
_more_

See Also:
Constant Field Values

VALUE_LEFT

public static final String VALUE_LEFT
_more_

See Also:
Constant Field Values

VALUE_MULTIPART

public static final String VALUE_MULTIPART
_more_

See Also:
Constant Field Values

VALUE_POST

public static final String VALUE_POST
_more_

See Also:
Constant Field Values

VALUE_RIGHT

public static final String VALUE_RIGHT
_more_

See Also:
Constant Field Values

VALUE_SELECTED

public static final String VALUE_SELECTED
_more_

See Also:
Constant Field Values

VALUE_TOP

public static final String VALUE_TOP
_more_

See Also:
Constant Field Values

VALUE_TRUE

public static final String VALUE_TRUE
_more_

See Also:
Constant Field Values

blockCnt

public static int blockCnt
_more_

Constructor Detail

HtmlUtil

public HtmlUtil()
Method Detail

open

public static String open(String comp)
_more_

Parameters:
comp - _more_
Returns:
_more_

comma

public static String comma(String s1,
                           String s2)
_more_

Parameters:
s1 - _more_
s2 - _more_
Returns:
_more_

comma

public static String comma(String s1,
                           String s2,
                           String s3)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
Returns:
_more_

comma

public static String comma(String s1,
                           String s2,
                           String s3,
                           String s4)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
s4 - _more_
Returns:
_more_

comma

public static String comma(String s1,
                           String s2,
                           String s3,
                           String s4,
                           String s5)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
s4 - _more_
s5 - _more_
Returns:
_more_

comma

public static String comma(String[] s)
_more_

Parameters:
s - _more_
Returns:
_more_

open

public static String open(String comp,
                          String attrs)
_more_

Parameters:
comp - _more_
attrs - _more_
Returns:
_more_

close

public static String close(String comp)
_more_

Parameters:
comp - _more_
Returns:
_more_

tag

public static String tag(String comp)
_more_

Parameters:
comp - _more_
Returns:
_more_

tag

public static String tag(String comp,
                         String attrs)
_more_

Parameters:
comp - _more_
attrs - _more_
Returns:
_more_

tag

public static String tag(String tag,
                         String attrs,
                         String inner)
_more_

Parameters:
tag - _more_
attrs - _more_
inner - _more_
Returns:
_more_

hidden

public static String hidden(String name,
                            Object value)
_more_

Parameters:
value - _more_
name - _more_
Returns:
_more_

hidden

public static String hidden(String name,
                            Object value,
                            String extra)
_more_

Parameters:
name - _more_
value - _more_
extra - _more_
Returns:
_more_

hbox

public static String hbox(String s1,
                          String s2)
_more_

Parameters:
s1 - _more_
s2 - _more_
Returns:
_more_

br

public static String br()
_more_

Returns:
_more_

br

public static String br(String line)
_more_

Parameters:
line - _more_
Returns:
_more_

hr

public static String hr()
_more_

Returns:
_more_

p

public static String p()
_more_

Returns:
_more_

nobr

public static String nobr(String inner)
_more_

Parameters:
inner - _more_
Returns:
_more_

b

public static String b(String inner)
_more_

Parameters:
inner - _more_
Returns:
_more_

italics

public static String italics(String inner)
_more_

Parameters:
inner - _more_
Returns:
_more_

li

public static String li(String inner,
                        String extra)
_more_

Parameters:
inner - _more_
extra - _more_
Returns:
_more_

center

public static String center(String inner)
_more_

Parameters:
inner - _more_
Returns:
_more_

pad

public static String pad(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

padLeft

public static String padLeft(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

padRight

public static String padRight(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

space

public static String space(int cnt)
_more_

Parameters:
cnt - _more_
Returns:
_more_

quote

public static String quote(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

squote

public static String squote(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

img

public static String img(String path)
_more_

Parameters:
path - _more_
Returns:
_more_

img

public static String img(String path,
                         String title)
_more_

Parameters:
path - _more_
title - _more_
Returns:
_more_

img

public static String img(String path,
                         String title,
                         String extra)
_more_

Parameters:
path - _more_
title - _more_
extra - _more_
Returns:
_more_

cssClass

public static String cssClass(String c)
_more_

Parameters:
c - _more_
Returns:
_more_

title

public static String title(String c)
_more_

Parameters:
c - _more_
Returns:
_more_

id

public static String id(String c)
_more_

Parameters:
c - _more_
Returns:
_more_

style

public static String style(String c)
_more_

Parameters:
c - _more_
Returns:
_more_

bold

public static String bold(String v1)
_more_

Parameters:
v1 - _more_
Returns:
_more_

col

public static String col(String v1)
_more_

Parameters:
v1 - _more_
Returns:
_more_

col

public static String col(String v1,
                         String attr)
_more_

Parameters:
v1 - _more_
attr - _more_
Returns:
_more_

colRight

public static String colRight(String v1)
_more_

Parameters:
v1 - _more_
Returns:
_more_

span

public static String span(String content,
                          String extra)
_more_

Parameters:
content - _more_
extra - _more_
Returns:
_more_

div

public static String div(String content,
                         String extra)
_more_

Parameters:
content - _more_
extra - _more_
Returns:
_more_

h1

public static String h1(String content)
_more_

Parameters:
content - _more_
Returns:
_more_

h2

public static String h2(String content)
_more_

Parameters:
content - _more_
Returns:
_more_

h3

public static String h3(String content)
_more_

Parameters:
content - _more_
Returns:
_more_

ul

public static String ul()
_more_

Returns:
_more_

p

public static String p(String content)
_more_

Parameters:
content - _more_
Returns:
_more_

pre

public static String pre(String content)
_more_

Parameters:
content - _more_
Returns:
_more_

url

public static String url(String path,
                         String n1,
                         Object v1)
_more_

Parameters:
path - _more_
n1 - _more_
v1 - _more_
Returns:
_more_

url

public static String url(String path,
                         String n1,
                         Object v1,
                         String n2,
                         Object v2)
_more_

Parameters:
path - _more_
n1 - _more_
v1 - _more_
n2 - _more_
v2 - _more_
Returns:
_more_

url

public static String url(String path,
                         String n1,
                         Object v1,
                         String n2,
                         Object v2,
                         String n3,
                         Object v3)
_more_

Parameters:
path - _more_
n1 - _more_
v1 - _more_
n2 - _more_
v2 - _more_
n3 - _more_
v3 - _more_
Returns:
_more_

url

public static String url(String path,
                         String n1,
                         Object v1,
                         String n2,
                         Object v2,
                         String n3,
                         Object v3,
                         String n4,
                         Object v4)
_more_

Parameters:
path - _more_
n1 - _more_
v1 - _more_
n2 - _more_
v2 - _more_
n3 - _more_
v3 - _more_
n4 - _more_
v4 - _more_
Returns:
_more_

url

public static String url(String path,
                         List args)
_more_

Parameters:
path - _more_
args - _more_
Returns:
_more_

url

public static String url(String path,
                         String[] args)
_more_

Parameters:
path - _more_
args - _more_
Returns:
_more_

url

public static String url(String path,
                         String[] args,
                         boolean encodeArgs)
_more_

Parameters:
path - _more_
args - _more_
encodeArgs - _more_
Returns:
_more_

args

public static String args(String[] args)
_more_

Parameters:
args - _more_
Returns:
_more_

args

public static String args(Hashtable args)
Make the url argument string from the set of given args. If the value of a given arg is a list then add multiple key=value pairs

Parameters:
args - url arguments
Returns:
URL argument string

arg

public static String arg(String name,
                         String value)
_more_

Parameters:
name - _more_
value - _more_
Returns:
_more_

arg

public static String arg(String name,
                         String value,
                         boolean encodeArg)
_more_

Parameters:
name - _more_
value - _more_
encodeArg - _more_
Returns:
_more_

row

public static String row(String row)
_more_

Parameters:
row - _more_
Returns:
_more_

row

public static String row(String row,
                         String extra)
_more_

Parameters:
row - _more_
extra - _more_
Returns:
_more_

rowTop

public static String rowTop(String row)
_more_

Parameters:
row - _more_
Returns:
_more_

rowBottom

public static String rowBottom(String row)
_more_

Parameters:
row - _more_
Returns:
_more_

cols

public static String cols(String s1)
_more_

Parameters:
s1 - _more_
Returns:
_more_

cols

public static String cols(String s1,
                          String s2)
_more_

Parameters:
s1 - _more_
s2 - _more_
Returns:
_more_

cols

public static String cols(String s1,
                          String s2,
                          String s3)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
Returns:
_more_

cols

public static String cols(String s1,
                          String s2,
                          String s3,
                          String s4)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
s4 - _more_
Returns:
_more_

cols

public static String cols(String s1,
                          String s2,
                          String s3,
                          String s4,
                          String s5)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
s4 - _more_
s5 - _more_
Returns:
_more_

cols

public static String cols(String s1,
                          String s2,
                          String s3,
                          String s4,
                          String s5,
                          String s6)
_more_

Parameters:
s1 - _more_
s2 - _more_
s3 - _more_
s4 - _more_
s5 - _more_
s6 - _more_
Returns:
_more_

headerCols

public static String headerCols(Object[] columns)
_more_

Parameters:
columns - _more_
Returns:
_more_

cols

public static String cols(Object[] columns)
_more_

Parameters:
columns - _more_
Returns:
_more_

makeLatLonInput

public static String makeLatLonInput(String arg,
                                     String value)
_more_

Parameters:
arg - _more_
value - _more_
Returns:
_more_

makeLatLonInput

public static String makeLatLonInput(String arg,
                                     String value,
                                     String tip)
_more_

Parameters:
arg - _more_
value - _more_
tip - _more_
Returns:
_more_

makeLatLonBox

public static String makeLatLonBox(String baseName,
                                   String southValue,
                                   String northValue,
                                   String eastValue,
                                   String westValue)
_more_

Parameters:
baseName - _more_
southValue - _more_
northValue - _more_
eastValue - _more_
westValue - _more_
Returns:
_more_

makeLatLonBox

public static String makeLatLonBox(String southArg,
                                   String northArg,
                                   String eastArg,
                                   String westArg,
                                   String southValue,
                                   String northValue,
                                   String eastValue,
                                   String westValue)
_more_

Parameters:
southArg - _more_
northArg - _more_
eastArg - _more_
westArg - _more_
southValue - _more_
northValue - _more_
eastValue - _more_
westValue - _more_
Returns:
_more_

makeLatLonBox

public static String makeLatLonBox(String baseName,
                                   double south,
                                   double north,
                                   double east,
                                   double west)
_more_

Parameters:
baseName - _more_
south - _more_
north - _more_
east - _more_
west - _more_
Returns:
_more_

makeAreaLabel

public static String makeAreaLabel(double south,
                                   double north,
                                   double east,
                                   double west)
_more_

Parameters:
south - _more_
north - _more_
east - _more_
west - _more_
Returns:
_more_

checkbox

public static String checkbox(String name)
_more_

Parameters:
name - _more_
Returns:
_more_

checkbox

public static String checkbox(String name,
                              String value)
_more_

Parameters:
name - _more_
value - _more_
Returns:
_more_

radio

public static String radio(String name,
                           String value,
                           boolean checked)
_more_

Parameters:
name - _more_
value - _more_
checked - _more_
Returns:
_more_

checkbox

public static String checkbox(String name,
                              String value,
                              boolean checked)
_more_

Parameters:
name - _more_
value - _more_
checked - _more_
Returns:
_more_

checkbox

public static String checkbox(String name,
                              String value,
                              boolean checked,
                              String extra)
_more_

Parameters:
name - _more_
value - _more_
checked - _more_
extra - _more_
Returns:
_more_

form

public static String form(String url)
_more_

Parameters:
url - _more_
Returns:
_more_

form

public static String form(String url,
                          String extra)
_more_

Parameters:
url - _more_
extra - _more_
Returns:
_more_

formPost

public static String formPost(String url)
_more_

Parameters:
url - _more_
Returns:
_more_

formPost

public static String formPost(String url,
                              String extra)
_more_

Parameters:
url - _more_
extra - _more_
Returns:
_more_

uploadForm

public static String uploadForm(String url,
                                String extra)
_more_

Parameters:
url - _more_
extra - _more_
Returns:
_more_

href

public static String href(String url,
                          String label)
_more_

Parameters:
url - _more_
label - _more_
Returns:
_more_

href

public static String href(String url,
                          String label,
                          String extra)
_more_

Parameters:
url - _more_
label - _more_
extra - _more_
Returns:
_more_

submitImage

public static String submitImage(String img,
                                 String name)
_more_

Parameters:
img - _more_
name - _more_
Returns:
_more_

submitImage

public static String submitImage(String img,
                                 String name,
                                 String alt)
_more_

Parameters:
img - _more_
name - _more_
alt - _more_
Returns:
_more_

submit

public static String submit(String label,
                            String name)
_more_

Parameters:
label - _more_
name - _more_
Returns:
_more_

submit

public static String submit(String label)
_more_

Parameters:
label - _more_
Returns:
_more_

textArea

public static String textArea(String name,
                              String value,
                              int rows,
                              int columns)
_more_

Parameters:
name - _more_
value - _more_
rows - _more_
columns - _more_
Returns:
_more_

textArea

public static String textArea(String name,
                              String value,
                              int rows,
                              int columns,
                              String extra)
_more_

Parameters:
name - _more_
value - _more_
rows - _more_
columns - _more_
extra - _more_
Returns:
_more_

password

public static String password(String name)
_more_

Parameters:
name - _more_
Returns:
_more_

password

public static String password(String name,
                              String value,
                              String extra)
_more_

Parameters:
name - _more_
value - _more_
extra - _more_
Returns:
_more_

input

public static String input(String name)
_more_

Parameters:
name - _more_
Returns:
_more_

input

public static String input(String name,
                           Object value)
_more_

Parameters:
name - _more_
value - _more_
Returns:
_more_

input

public static String input(String name,
                           Object value,
                           int size)
_more_

Parameters:
name - _more_
value - _more_
size - _more_
Returns:
_more_

input

public static String input(String name,
                           Object value,
                           String extra)
_more_

Parameters:
name - _more_
value - _more_
extra - _more_
Returns:
_more_

disabledInput

public static String disabledInput(String name,
                                   Object value,
                                   String extra)
_more_

Parameters:
name - _more_
value - _more_
extra - _more_
Returns:
_more_

fileInput

public static String fileInput(String name,
                               String extra)
_more_

Parameters:
name - _more_
extra - _more_
Returns:
_more_

select

public static String select(String name,
                            List values)
_more_

Parameters:
name - _more_
values - _more_
Returns:
_more_

select

public static String select(String name,
                            List values,
                            String selected)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_
Returns:
_more_

select

public static String select(String name,
                            List values,
                            String selected,
                            String extra)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_
extra - _more_
Returns:
_more_

select

public static String select(String name,
                            List values,
                            List<String> selected,
                            String extra)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_
extra - _more_
Returns:
_more_

select

public static String select(String name,
                            Object[] values,
                            String selected,
                            int maxLength)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_ , * @param maxLength _more_
Returns:
_more_

select

public static String select(String name,
                            List values,
                            String selected,
                            int maxLength)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_
maxLength - _more_
Returns:
_more_

select

public static String select(String name,
                            List values,
                            String selected,
                            String extra,
                            int maxLength)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_
extra - _more_
maxLength - _more_
Returns:
_more_

select

public static String select(String name,
                            List values,
                            List selected,
                            String extra,
                            int maxLength)
_more_

Parameters:
name - _more_
values - _more_
selected - _more_
extra - _more_
maxLength - _more_
Returns:
_more_

colorSelect

public static String colorSelect(String name,
                                 String selected)
_more_

Parameters:
name - _more_
selected - _more_
Returns:
_more_

inset

public static String inset(String html,
                           int top,
                           int left,
                           int bottom,
                           int right)
_more_

Parameters:
html - _more_
top - _more_
left - _more_
bottom - _more_
right - _more_
Returns:
_more_

insetDiv

public static String insetDiv(String html,
                              int top,
                              int left,
                              int bottom,
                              int right)
_more_

Parameters:
html - _more_
top - _more_
left - _more_
bottom - _more_
right - _more_
Returns:
_more_

inset

public static String inset(String html,
                           int space)
_more_

Parameters:
html - _more_
space - _more_
Returns:
_more_

insetLeft

public static String insetLeft(String html,
                               int space)
_more_

Parameters:
html - _more_
space - _more_
Returns:
_more_

colspan

public static String colspan(String s,
                             int cols)
_more_

Parameters:
s - _more_
cols - _more_
Returns:
_more_

formTableTop

public static String formTableTop(String[] cols)
_more_

Parameters:
cols - _more_
Returns:
_more_

formTable

public static String formTable(String[] cols)
_more_

Parameters:
cols - _more_
Returns:
_more_

formEntryTop

public static String formEntryTop(String[] cols)
_more_

Parameters:
cols - _more_
Returns:
_more_

leftRight

public static String leftRight(String left,
                               String right)
_more_

Parameters:
left - _more_
right - _more_
Returns:
_more_

leftRight

public static String leftRight(String left,
                               String right,
                               String attrs)
_more_

Parameters:
left - _more_
right - _more_
attrs - _more_
Returns:
_more_

table

public static String table(String contents)
_more_

Parameters:
contents - _more_
Returns:
_more_

table

public static String table(String contents,
                           String attrs)
_more_

Parameters:
contents - _more_
attrs - _more_
Returns:
_more_

table

public static String table(Object[] columns)
_more_

Parameters:
columns - _more_
Returns:
_more_

table

public static String table(Object[] columns,
                           int spacing)
_more_

Parameters:
columns - _more_
spacing - _more_
Returns:
_more_

table

public static StringBuffer table(List columns,
                                 int numCols,
                                 String attributes)
_more_

Parameters:
columns - _more_
numCols - _more_
attributes - _more_
Returns:
_more_

formTable

public static String formTable()
_more_

Returns:
_more_

formTable

public static String formTable(String extra)
_more_

Parameters:
extra - _more_
Returns:
_more_

formTableClose

public static String formTableClose()
_more_

Returns:
_more_

formClose

public static String formClose()
_more_

Returns:
_more_

formEntry

public static String formEntry(String left,
                               String right)
_more_

Parameters:
left - _more_
right - _more_
Returns:
_more_

formEntryTop

public static String formEntryTop(String left,
                                  String right)
_more_

Parameters:
left - _more_
right - _more_
Returns:
_more_

formEntryTop

public static String formEntryTop(String left,
                                  String right,
                                  String trExtra,
                                  boolean dummy)
_more_

Parameters:
left - _more_
right - _more_
trExtra - _more_
dummy - _more_
Returns:
_more_

formEntryTop

public static String formEntryTop(String col1,
                                  String left,
                                  String right)
_more_

Parameters:
col1 - _more_
left - _more_
right - _more_
Returns:
_more_

attr

public static String attr(String name,
                          String value)
_more_

Parameters:
name - _more_
value - _more_
Returns:
_more_

attrs

public static String attrs(String name,
                           String value)
_more_

Parameters:
name - _more_
value - _more_
Returns:
_more_

attrs

public static String attrs(String[] pairs)
_more_

Parameters:
pairs - _more_
Returns:
_more_

attrs

public static String attrs(String n1,
                           String v1,
                           String n2,
                           String v2)
Return a String with n1="v1" n2="v2".

Parameters:
n1 - The first attribute name.
v1 - The first attribute value.
n2 - The second attribute name.
v2 - The second attribute value.
Returns:
The attrbiute string.

attrs

public static String attrs(String n1,
                           String v1,
                           String n2,
                           String v2,
                           String n3,
                           String v3)
Return a String with n1="v1" n2="v2". n3="v3".

Parameters:
n1 - The first attribute name.
v1 - The first attribute value.
n2 - The second attribute name.
v2 - The second attribute value.
n3 - The third attribute name.
v3 - The third attribute value.
Returns:
The attrbiute string.

attrs

public static String attrs(String n1,
                           String v1,
                           String n2,
                           String v2,
                           String n3,
                           String v3,
                           String n4,
                           String v4)
Return a String with n1="v1" n2="v2". n3="v3". n4="v4".

Parameters:
n1 - The first attribute name.
v1 - The first attribute value.
n2 - The second attribute name.
v2 - The second attribute value.
n3 - The third attribute name.
v3 - The third attribute value.
n4 - The fourth attribute name.
v4 - The fourth attribute value.
Returns:
The attrbiute string.

onMouseOver

public static String onMouseOver(String call)
_more_

Parameters:
call - _more_
Returns:
_more_

onMouseMove

public static String onMouseMove(String call)
_more_

Parameters:
call - _more_
Returns:
_more_

onMouseOut

public static String onMouseOut(String call)
_more_

Parameters:
call - _more_
Returns:
_more_

onMouseUp

public static String onMouseUp(String call)
_more_

Parameters:
call - _more_
Returns:
_more_

onMouseDown

public static String onMouseDown(String call)
_more_

Parameters:
call - _more_
Returns:
_more_

onMouseClick

public static String onMouseClick(String call)
_more_

Parameters:
call - _more_
Returns:
_more_

mouseClickHref

public static String mouseClickHref(String call,
                                    String label)
_more_

Parameters:
call - _more_
label - _more_
Returns:
_more_

mouseClickHref

public static String mouseClickHref(String call,
                                    String label,
                                    String extra)
_more_

Parameters:
call - _more_
label - _more_
extra - _more_
Returns:
_more_

jsLink

public static String jsLink(String events,
                            String content)
_more_

Parameters:
events - _more_
content - _more_
Returns:
_more_

jsLink

public static String jsLink(String events,
                            String content,
                            String extra)
_more_

Parameters:
events - _more_
content - _more_
extra - _more_
Returns:
_more_

script

public static String script(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

call

public static String call(String function,
                          String args)
_more_

Parameters:
function - _more_
args - _more_
Returns:
_more_

callln

public static String callln(String function,
                            String args)
_more_

Parameters:
function - _more_
args - _more_
Returns:
_more_

importJS

public static String importJS(String jsUrl)
_more_

Parameters:
jsUrl - _more_
Returns:
_more_

cssLink

public static String cssLink(String url)
_more_

Parameters:
url - _more_
Returns:
_more_

makeTabs

public static String makeTabs(List titles,
                              List contents,
                              boolean skipEmpty)
_more_

Parameters:
titles - _more_
contents - _more_
skipEmpty - _more_
Returns:
_more_

makeTabs

public static String makeTabs(List titles,
                              List contents,
                              boolean skipEmpty,
                              String tabContentClass)
_more_

Parameters:
titles - _more_
contents - _more_
skipEmpty - _more_
tabContentClass - _more_
Returns:
_more_

makeTabs

public static String makeTabs(List titles,
                              List contents,
                              boolean skipEmpty,
                              String tabContentClass,
                              String wrapperClass)
_more_

Parameters:
titles - _more_
contents - _more_
skipEmpty - _more_
tabContentClass - _more_
wrapperClass - _more_
Returns:
_more_

setBlockHideShowImage

public static void setBlockHideShowImage(String hideImg,
                                         String showImg)
_more_

Parameters:
hideImg - _more_
showImg - _more_

setInlineHideShowImage

public static void setInlineHideShowImage(String hideImg,
                                          String showImg)
_more_

Parameters:
hideImg - _more_
showImg - _more_

makeShowHideBlock

public static String makeShowHideBlock(String label,
                                       String content,
                                       boolean visible)
_more_

Parameters:
label - _more_
content - _more_
visible - _more_
Returns:
_more_

makeShowHideBlock

public static String makeShowHideBlock(String label,
                                       String content,
                                       boolean visible,
                                       String headerExtra)
_more_

Parameters:
label - _more_
content - _more_
visible - _more_
headerExtra - _more_
Returns:
_more_

makeShowHideBlock

public static String makeShowHideBlock(String label,
                                       String content,
                                       boolean visible,
                                       String headerExtra,
                                       String blockExtra)
_more_

Parameters:
label - _more_
content - _more_
visible - _more_
headerExtra - _more_
blockExtra - _more_
Returns:
_more_

makeShowHideBlock

public static String makeShowHideBlock(String label,
                                       String content,
                                       boolean visible,
                                       String headerExtra,
                                       String blockExtra,
                                       String hideImg,
                                       String showImg)
_more_

Parameters:
label - _more_
content - _more_
visible - _more_
headerExtra - _more_
blockExtra - _more_
hideImg - _more_
showImg - _more_
Returns:
_more_

getToggle

public static String[] getToggle(String label,
                                 boolean visible)
_more_

Parameters:
label - _more_
visible - _more_
Returns:
_more_

getToggle

public static String[] getToggle(String label,
                                 boolean visible,
                                 String hideImg,
                                 String showImg)
_more_

Parameters:
label - _more_
visible - _more_
hideImg - _more_
showImg - _more_
Returns:
_more_

makeToggleBlock

public static String makeToggleBlock(String content,
                                     StringBuffer contentSB,
                                     boolean visible)
_more_

Parameters:
content - _more_
contentSB - _more_
visible - _more_
Returns:
_more_

makeToggleInline

public static String makeToggleInline(String label,
                                      String content,
                                      boolean visible)
_more_

Parameters:
label - _more_
content - _more_
visible - _more_
Returns:
_more_

makeToggleTable

public static String makeToggleTable(String label,
                                     String content,
                                     boolean visible)
_more_

Parameters:
label - _more_
content - _more_
visible - _more_
Returns:
_more_

makeShowHideBlock

public static String makeShowHideBlock(String clickHtml,
                                       String label,
                                       String content,
                                       boolean visible)
_more_

Parameters:
clickHtml - _more_
label - _more_
content - _more_
visible - _more_
Returns:
_more_

urlEncode

public static String urlEncode(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

urlEncodeExceptSpace

public static String urlEncodeExceptSpace(String s)
_more_

Parameters:
s - _more_
Returns:
_more_

entityEncode

public static String entityEncode(String input)
_more_

Parameters:
input - _more_
Returns:
_more_

main

public static void main(String[] args)
                 throws Exception
_more_

Parameters:
args - _more_
Throws:
Exception - _more_

sizeAttr

public static final String sizeAttr(int size)
_more_

Parameters:
size - _more_
Returns:
_more_