Skip navigation links
A B C D E F G H I L M N O P S T U V W 

A

A - Static variable in interface org.ujorm.tools.web.Html
Anchor element
A_ACTION - Static variable in interface org.ujorm.tools.web.Html
 
A_CELLPADDING - Static variable in interface org.ujorm.tools.web.Html
 
A_CELLSPACING - Static variable in interface org.ujorm.tools.web.Html
 
A_CHARSET - Static variable in interface org.ujorm.tools.web.Html
 
A_CHECKED - Static variable in interface org.ujorm.tools.web.Html
 
A_CLASS - Static variable in interface org.ujorm.tools.web.Html
 
A_COLS - Static variable in interface org.ujorm.tools.web.Html
 
A_COLSPAN - Static variable in interface org.ujorm.tools.web.Html
 
A_CONTENT - Static variable in interface org.ujorm.tools.web.Html
 
A_FOR - Static variable in interface org.ujorm.tools.web.Html
 
A_HREF - Static variable in interface org.ujorm.tools.web.Html
 
A_ID - Static variable in interface org.ujorm.tools.web.Html
 
A_LANG - Static variable in interface org.ujorm.tools.web.Html
Language attribute of the HTML pagee (e.g.
A_LANGUAGE - Static variable in interface org.ujorm.tools.web.Html
Reference of the programing language (e.g.
A_MAXLENGTH - Static variable in interface org.ujorm.tools.web.Html
 
A_MEDIA - Static variable in interface org.ujorm.tools.web.Html
 
A_METHOD - Static variable in interface org.ujorm.tools.web.Html
 
A_NAME - Static variable in interface org.ujorm.tools.web.Html
 
A_READONLY - Static variable in interface org.ujorm.tools.web.Html
 
A_REL - Static variable in interface org.ujorm.tools.web.Html
 
A_ROWS - Static variable in interface org.ujorm.tools.web.Html
 
A_ROWSPAN - Static variable in interface org.ujorm.tools.web.Html
 
A_SELECTED - Static variable in interface org.ujorm.tools.web.Html
 
A_SRC - Static variable in interface org.ujorm.tools.web.Html
 
A_TARGET - Static variable in interface org.ujorm.tools.web.Html
 
A_TYPE - Static variable in interface org.ujorm.tools.web.Html
 
A_VALUE - Static variable in interface org.ujorm.tools.web.Html
 
addAnchor(String, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add an anchor element with URL and CSS classes
addAnchoredText(String, Object...) - Method in class org.ujorm.tools.web.Element
Add an anchor element with texts
addArguments(Object...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
addBody(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addBreak(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add a line break
addButton(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addCDATA(CharSequence) - Method in class org.ujorm.tools.web.Element
 
addComment(CharSequence) - Method in class org.ujorm.tools.web.Element
 
addCssBody(CharSequence) - Method in class org.ujorm.tools.web.HtmlPage
Create a new CSS element and return it
addCssLink(CharSequence) - Method in class org.ujorm.tools.web.HtmlPage
Create a new CSS element and return it
addCssLinks(CharSequence...) - Method in class org.ujorm.tools.web.HtmlPage
Create a new CSS element and return it
addDiv(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addElement(String) - Method in class org.ujorm.tools.web.Element
Create new Element
addElement(String, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add a new Element with optional CSS classes
addFieldset(String, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new fieldset element including a title
addForm(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addHeading(CharSequence, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add a top heading (level one)
addHeading(int, CharSequence, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new heading with the required level where the first level is the one,
addInput(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new input element
addJavascriptContents(CharSequence) - Method in class org.ujorm.tools.web.HtmlPage
Create a new Javascript element and return it
addJavascriptLink(boolean, CharSequence) - Method in class org.ujorm.tools.web.HtmlPage
Create a new Javascript element and return it
addJavascriptLinks(boolean, CharSequence...) - Method in class org.ujorm.tools.web.HtmlPage
Create a new Javascript element and return it
addLabel(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addLink(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addListItem(CharSequence...) - Method in class org.ujorm.tools.web.Element
 
addOption(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addOrderedList(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addParagraph(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addPasswordInput(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new input element type of password
addPreformatted(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addRawText(Object) - Method in class org.ujorm.tools.web.Element
 
addScript(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addSelect(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new select element
addSelectOptions(Object, Map<?, ?>, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add options from map to current select element
addSpan(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addStyle(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addSubmitButton(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add a submit button
addTable(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new Table with cellpadding a cellspacing values to zero.
addTable(Object[][], CharSequence...) - Method in class org.ujorm.tools.web.Element
Create a HTML table according to data
addTable(List<Object[]>, CharSequence...) - Method in class org.ujorm.tools.web.Element
Create a HTML table according to data
addTableDetail(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addTableHead(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addTableRow(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addText(Object) - Method in class org.ujorm.tools.web.Element
Add simple text
addText(Object...) - Method in class org.ujorm.tools.web.Element
Add many texts with no separator
addTextArea(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addTextInput(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new input element type of text
addTextSeparted(Object, Object...) - Method in class org.ujorm.tools.web.Element
Add many words separated by the separator
addTitle(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addUnorderedlist(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addValue(Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
andCondition(CharSequence, String, Object...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
andCondition(CharSequence, String, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 

B

BETWEEN_X_AND_Y - Static variable in interface org.ujorm.tools.sql.Sql
 
BODY - Static variable in interface org.ujorm.tools.web.Html
Body element
BR - Static variable in interface org.ujorm.tools.web.Html
A line break
BUTTON - Static variable in interface org.ujorm.tools.web.Html
Button

C

close() - Method in class org.ujorm.tools.web.Element
 
close() - Method in class org.ujorm.tools.web.HtmlPage
 
column(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
 
columnInsert(CharSequence, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
columnUpdate(CharSequence, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
condition(CharSequence, String, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
createHtmlRoot(Object, CharSequence...) - Static method in class org.ujorm.tools.web.Element
Crate a root element
createHtmlRoot(Object, Charset, CharSequence...) - Static method in class org.ujorm.tools.web.Element
Crate a root element

D

DefaultConfig - Class in org.ujorm.tools.web
Configuraion of HtmlPage
DefaultConfig() - Constructor for class org.ujorm.tools.web.DefaultConfig
 
DELETE - Static variable in interface org.ujorm.tools.sql.Sql
 
delete(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
Write WHERE
DIV - Static variable in interface org.ujorm.tools.web.Html
Division in an HTML document.

E

Element - Class in org.ujorm.tools.web
A proxy for a HTML element
Element(AbstractElement) - Constructor for class org.ujorm.tools.web.Element
New element with a parent
EQ - Static variable in interface org.ujorm.tools.sql.Sql
 

F

FIELDSET - Static variable in interface org.ujorm.tools.web.Html
Field set
FORM - Static variable in interface org.ujorm.tools.web.Html
Form element
FROM - Static variable in interface org.ujorm.tools.sql.Sql
 
from(CharSequence...) - Method in class org.ujorm.tools.sql.SqlBuilder
Write FORM tables

G

GE - Static variable in interface org.ujorm.tools.sql.Sql
 
getBody() - Method in class org.ujorm.tools.web.HtmlPage
Returns a body element
getCharset() - Method in class org.ujorm.tools.web.DefaultConfig
Charset
getCharset() - Method in interface org.ujorm.tools.web.HtmlConfig
Charset
getConfig() - Method in class org.ujorm.tools.web.HtmlPage
Get config
getCssLinks() - Method in class org.ujorm.tools.web.DefaultConfig
Css ling witn required order
getCssLinks() - Method in interface org.ujorm.tools.web.HtmlConfig
Css ling with required order
getFirstLevel() - Method in class org.ujorm.tools.web.DefaultConfig
Level of th root
getFirstLevel() - Method in interface org.ujorm.tools.web.HtmlConfig
Level of th root
getHead() - Method in class org.ujorm.tools.web.HtmlPage
Returns a head element
getIndentationSpace() - Method in class org.ujorm.tools.web.DefaultConfig
New line
getIndentationSpace() - Method in interface org.ujorm.tools.web.HtmlConfig
New line
getLanguage() - Method in class org.ujorm.tools.web.DefaultConfig
Get language of the HTML page
getLanguage() - Method in interface org.ujorm.tools.web.HtmlConfig
Get language of the HTML page
getTitle() - Method in class org.ujorm.tools.web.DefaultConfig
Html title
getTitle() - Method in interface org.ujorm.tools.web.HtmlConfig
Html title
getTitle() - Method in class org.ujorm.tools.web.HtmlPage
Get title of configuration
GT - Static variable in interface org.ujorm.tools.sql.Sql
 

H

H1 - Static variable in interface org.ujorm.tools.web.Html
Heading element level 1
H2 - Static variable in interface org.ujorm.tools.web.Html
Heading element level 2
H3 - Static variable in interface org.ujorm.tools.web.Html
Heading element level 3
HEAD - Static variable in interface org.ujorm.tools.web.Html
Head element
HEADING_PREFIX - Static variable in interface org.ujorm.tools.web.Html
Heading prefix
Html - Interface in org.ujorm.tools.web
A proxy for a HTML element NOTE: All fields in interface are public static final, i.e. they are constants.
HTML - Static variable in interface org.ujorm.tools.web.Html
Body element
HtmlConfig - Interface in org.ujorm.tools.web
Configuraion of HtmlPage
HtmlPage - Class in org.ujorm.tools.web
The root of HTML elements
HtmlPage(HtmlConfig, Writer) - Constructor for class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers

I

IN - Static variable in interface org.ujorm.tools.sql.Sql
 
INPUT - Static variable in interface org.ujorm.tools.web.Html
Input element
INSERT - Static variable in interface org.ujorm.tools.sql.Sql
 
insert(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
Write WHERE
INSERT_INTO - Static variable in interface org.ujorm.tools.sql.Sql
 
IS_NOT_NULL - Static variable in interface org.ujorm.tools.sql.Sql
 
IS_NULL - Static variable in interface org.ujorm.tools.sql.Sql
 
isDom() - Method in class org.ujorm.tools.web.DefaultConfig
Use a DOM model
isDom() - Method in interface org.ujorm.tools.web.HtmlConfig
Use a DOM model
isNiceFormat() - Method in class org.ujorm.tools.web.DefaultConfig
Nice format or the HTML result
isNiceFormat() - Method in interface org.ujorm.tools.web.HtmlConfig
Nice format or the HTML result

L

LABEL - Static variable in interface org.ujorm.tools.web.Html
Label element
LE - Static variable in interface org.ujorm.tools.sql.Sql
 
LEGEND - Static variable in interface org.ujorm.tools.web.Html
Legend
LI - Static variable in interface org.ujorm.tools.web.Html
Some item element
LINK - Static variable in interface org.ujorm.tools.web.Html
Link element
LT - Static variable in interface org.ujorm.tools.sql.Sql
 

M

META - Static variable in interface org.ujorm.tools.web.Html
Meta element

N

niceOf(CharSequence, HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
niceOf(CharSequence, HttpServletResponse, Charset, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
niceOf(HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
NOT_EQ - Static variable in interface org.ujorm.tools.sql.Sql
 

O

of(HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
of(CharSequence, HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
of(CharSequence, HttpServletResponse, Charset, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
of(HttpServletResponse, HtmlConfig) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers
of(HtmlConfig) - Static method in class org.ujorm.tools.web.HtmlPage
Create new instance with empty html headers for
OL - Static variable in interface org.ujorm.tools.web.Html
Ordered list elements (root)
OPTION - Static variable in interface org.ujorm.tools.web.Html
Option element
orCondition(CharSequence, String, Object...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
orCondition(CharSequence, String, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
org.ujorm.tools.sql - package org.ujorm.tools.sql
 
org.ujorm.tools.web - package org.ujorm.tools.web
 
origElement - Variable in class org.ujorm.tools.web.Element
An original XML element

P

P - Static variable in interface org.ujorm.tools.web.Html
Paragraph element
PRE - Static variable in interface org.ujorm.tools.web.Html
Preformatted text.

S

SCRIPT - Static variable in interface org.ujorm.tools.web.Html
Script element
SELECT - Static variable in interface org.ujorm.tools.sql.Sql
 
select(CharSequence...) - Method in class org.ujorm.tools.sql.SqlBuilder
Write SELECT columns
SELECT - Static variable in interface org.ujorm.tools.web.Html
Select element
SET - Static variable in interface org.ujorm.tools.sql.Sql
 
setAction(Object) - Method in class org.ujorm.tools.web.Element
Set an action type of from
setAttrib(String, Object) - Method in class org.ujorm.tools.web.Element
Set an attribute
setCellPadding(int) - Method in class org.ujorm.tools.web.Element
Set a CSS class attribute
setCellSpacing(int) - Method in class org.ujorm.tools.web.Element
Set a CSS class attribute
setCharset(Charset) - Method in class org.ujorm.tools.web.DefaultConfig
Charset
setClass(CharSequence...) - Method in class org.ujorm.tools.web.Element
Set a CSS class attribute optionally, the empty attribute is ignored.
setCols(Object) - Method in class org.ujorm.tools.web.Element
Column count of a text area
setColSpan(int) - Method in class org.ujorm.tools.web.Element
Column span inside the table
setCssLinks(CharSequence...) - Method in class org.ujorm.tools.web.DefaultConfig
Css ling witn required order
setDom(boolean) - Method in class org.ujorm.tools.web.DefaultConfig
Use a DOM model
setFirstLevel(int) - Method in class org.ujorm.tools.web.DefaultConfig
Level of th root
setFor(CharSequence) - Method in class org.ujorm.tools.web.Element
Set an value of input element
setHref(CharSequence) - Method in class org.ujorm.tools.web.Element
Set hyperlink reference
setId(CharSequence) - Method in class org.ujorm.tools.web.Element
Set an identifier of the element
setIndentationSpace(String) - Method in class org.ujorm.tools.web.DefaultConfig
New line
setLanguage(String) - Method in class org.ujorm.tools.web.DefaultConfig
Set language of the HTML page
setMethod(Object) - Method in class org.ujorm.tools.web.Element
Set a method of form
setName(CharSequence) - Method in class org.ujorm.tools.web.Element
Set an name of input element
setNiceFormat(boolean) - Method in class org.ujorm.tools.web.DefaultConfig
Nice format or the HTML result
setRows(int) - Method in class org.ujorm.tools.web.Element
Row count of a text area
setRowSpan(int) - Method in class org.ujorm.tools.web.Element
Row span inside the table
setTitle(CharSequence) - Method in class org.ujorm.tools.web.DefaultConfig
Html title
setType(Object) - Method in class org.ujorm.tools.web.Element
Set a type of input element
setValue(Object) - Method in class org.ujorm.tools.web.Element
Set an value of input element
SPAN - Static variable in interface org.ujorm.tools.web.Html
Span element
Sql - Interface in org.ujorm.tools.sql
Some SQL keyw0rods.
SqlBuilder - Class in org.ujorm.tools.sql
PrepareStatement builder support How to use a SELECT
 SqlBuilder sql = new SqlBuilder()
     .select("t.id", "t.name")
     .from("testTable t")
     .where()
     .andCondition("t.name", "=", "Test")
     .andCondition("t.created", ">=", someDate);
 for (ResultSet rs : sql.executeSelect(dbConnection)) {
      int id = rs.getInt(1);
      String name = rs.getString(2);
 }
 

 How to use a INSERT
 
 SqlBuilder sql = new SqlBuilder()
     .insert("testTable")
     .write("(")
     .columnInsert("id", 10)
     .columnInsert("name", "Test")
     .columnInsert("date", someDate)
     .super.write(")");
 sql.executeUpdate(dbConnection);
 

 How to use a UPDATE
 
 SqlBuilder sql = new SqlBuilder()
     .update("testTable")
     .columnUpdate("name", "Test")
     .columnUpdate("date", SOME_DATE)
     .where()
     .andCondition("id", "IN", 10, 20, 30)
     .andCondition("created BETWEEN ?
SqlBuilder() - Constructor for class org.ujorm.tools.sql.SqlBuilder
 
SqlBuilder(List<CharSequence>, List<Object>) - Constructor for class org.ujorm.tools.sql.SqlBuilder
 
STYLE - Static variable in interface org.ujorm.tools.web.Html
Style element

T

TABLE - Static variable in interface org.ujorm.tools.web.Html
Table element
TD - Static variable in interface org.ujorm.tools.web.Html
Table detail element
TEXT_AREA - Static variable in interface org.ujorm.tools.web.Html
Input element
TH - Static variable in interface org.ujorm.tools.web.Html
Table header cell
THEAD - Static variable in interface org.ujorm.tools.web.Html
Table header line
TITLE - Static variable in interface org.ujorm.tools.web.Html
Title element
toString() - Method in class org.ujorm.tools.web.Element
String value
toString() - Method in class org.ujorm.tools.web.HtmlPage
Returns an Render the HTML code including header.
TR - Static variable in interface org.ujorm.tools.web.Html
Table row element

U

UL - Static variable in interface org.ujorm.tools.web.Html
Unordered list elements (root)
UNDEFINED - Static variable in interface org.ujorm.tools.sql.Sql
 
UPDATE - Static variable in interface org.ujorm.tools.sql.Sql
 
update(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
Write WHERE

V

V_BLANK - Static variable in interface org.ujorm.tools.web.Html
 
V_CHECKBOX - Static variable in interface org.ujorm.tools.web.Html
 
V_GET - Static variable in interface org.ujorm.tools.web.Html
 
V_HIDDEN - Static variable in interface org.ujorm.tools.web.Html
 
V_PASSWORD - Static variable in interface org.ujorm.tools.web.Html
 
V_POST - Static variable in interface org.ujorm.tools.web.Html
 
V_RESET - Static variable in interface org.ujorm.tools.web.Html
 
V_STYLESHEET - Static variable in interface org.ujorm.tools.web.Html
 
V_SUBMIT - Static variable in interface org.ujorm.tools.web.Html
 
V_TEXT - Static variable in interface org.ujorm.tools.web.Html
 
V_TEXT_CSS - Static variable in interface org.ujorm.tools.web.Html
 
value(Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
VALUES - Static variable in interface org.ujorm.tools.sql.Sql
 

W

WHERE - Static variable in interface org.ujorm.tools.sql.Sql
 
where() - Method in class org.ujorm.tools.sql.SqlBuilder
Write WHERE
write(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
 
write(SqlBuilder) - Method in class org.ujorm.tools.sql.SqlBuilder
 
writeMany(CharSequence...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
writeManyNoSpace(CharSequence...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
writeNoSpace(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
 
A B C D E F G H I L M N O P S T U V W 
Skip navigation links

Copyright 2015, Pavel Ponec