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

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_ALT - Static variable in interface org.ujorm.tools.web.Html
Alternate text
A_CELLPADDING - Static variable in interface org.ujorm.tools.web.Html
Deprecated.
Attribute cellpadding is not supported in HTML 5.
A_CELLSPACING - Static variable in interface org.ujorm.tools.web.Html
Deprecated.
Attribute cellspacing is not supported in HTML 5.
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_HTTP_EQUIV - 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
 
AbstractElement<E extends AbstractElement<?>> - Class in org.ujorm.tools.xml
Deprecated.
Use the interface ApiElement rather.
AbstractElement(String) - Constructor for class org.ujorm.tools.xml.AbstractElement
Deprecated.
 
AbstractWriter - Class in org.ujorm.tools.xml
A generic writer
AbstractWriter(Appendable, XmlConfig) - Constructor for class org.ujorm.tools.xml.AbstractWriter
A writer constructor
accept(ResultSet) - Method in interface org.ujorm.tools.jdbc.RsConsumer
 
acceptResultset(ResultSet) - Method in interface org.ujorm.tools.jdbc.RsConsumer
 
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.jdbc.JdbcBuilder
Add argument values with no SAPARATOR and no MARKER (for a common use)
addArguments(Object...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
addBody(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addBody() - Method in class org.ujorm.tools.web.HtmlElement
Returns a 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
 
addCDATA(CharSequence) - Method in class org.ujorm.tools.web.HtmlElement
Deprecated.
addCDATA(CharSequence) - Method in interface org.ujorm.tools.xml.ApiElement
Add a character data in CDATA format to XML only.
addCDATA(CharSequence) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Deprecated.
addCDATA(CharSequence) - Method in class org.ujorm.tools.xml.model.XmlModel
Add a character data in CDATA format to XML only.
addChild(Object) - Method in class org.ujorm.tools.xml.model.XmlModel
Add a child entity
addComment(CharSequence) - Method in class org.ujorm.tools.web.Element
 
addComment(CharSequence) - Method in class org.ujorm.tools.web.HtmlElement
 
addComment(CharSequence) - Method in interface org.ujorm.tools.xml.ApiElement
Add a comment text.
addComment(CharSequence) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Deprecated.
addComment(CharSequence) - Method in class org.ujorm.tools.xml.model.XmlModel
Add a comment text.
addCookie(Cookie) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
addCssBody(CharSequence) - Method in class org.ujorm.tools.web.HtmlElement
Create a new CSS element and return it
addCssLink(CharSequence) - Method in class org.ujorm.tools.web.HtmlElement
Create a new CSS element and return it
addCssLinks(CharSequence...) - Method in class org.ujorm.tools.web.HtmlElement
Create a new CSS element and return it
addDateHeader(String, long) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
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
addElement(String) - Method in class org.ujorm.tools.web.HtmlElement
Create new Element
addElement(String) - Method in interface org.ujorm.tools.xml.ApiElement
Create a new XmlElement for a required name and add it to children.
addElement(String) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Create a new XmlBuilder for a required name and add it to children.
addElement(XmlModel) - Method in class org.ujorm.tools.xml.model.XmlModel
Add a child element
addElement(String) - Method in class org.ujorm.tools.xml.model.XmlModel
Create a new XmlModel for a required name and add it to children.
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
addHead() - Method in class org.ujorm.tools.web.HtmlElement
Returns a head element
addHeader(String, String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
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,
addImage(CharSequence, CharSequence, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add a link to an image
addImage(InputStream, CharSequence, CharSequence...) - Method in class org.ujorm.tools.web.Element
Add an embeded image
addInput(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new input element
addIntHeader(String, int) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
addJavascriptContents(CharSequence) - Method in class org.ujorm.tools.web.HtmlElement
Create a new Javascript element and return it
addJavascriptLink(boolean, CharSequence) - Method in class org.ujorm.tools.web.HtmlElement
Create a new Javascript element and return it
addJavascriptLinks(boolean, CharSequence...) - Method in class org.ujorm.tools.web.HtmlElement
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
 
addRawText(Object) - Method in class org.ujorm.tools.web.HtmlElement
 
addRawText(Object) - Method in interface org.ujorm.tools.xml.ApiElement
Add an native text with no escaped characters, for example: XML code, JavaScript, CSS styles
addRawText(Object) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Add an native text with no escaped characters, for example: XML code, JavaScript, CSS styles
addRawText(Object) - Method in class org.ujorm.tools.xml.model.XmlModel
Add an native text with no escaped characters, for example: XML code, JavaScript, CSS styles
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
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
addTableNoSpaces(CharSequence...) - Method in class org.ujorm.tools.web.Element
Deprecated.
Use a CSS style rather.
addTableRow(CharSequence...) - Method in class org.ujorm.tools.web.Element
Add new body element
addTemplate(String, Object...) - Method in class org.ujorm.tools.web.Element
Add a template based text with parameters
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
addText(Object) - Method in class org.ujorm.tools.web.HtmlElement
 
addText(Object) - Method in interface org.ujorm.tools.xml.ApiElement
Add a text and escape special character
addText(Object) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Add a text and escape special character
addText(Object) - Method in class org.ujorm.tools.xml.model.XmlModel
Add a text and escape special character
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(CharSequence, 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.jdbc.JdbcBuilder
Add a value to SQL (inlucing MARKER)
addValue(Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
andCondition(CharSequence, String, Object) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add a condition for a valid argument joined by AND operator
andCondition(CharSequence, String, Object...) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add a condition for a multivalue argument joined by AND operator
andCondition(CharSequence, String, Object...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
andCondition(CharSequence, String, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
ApiElement<E extends ApiElement<?>> - Interface in org.ujorm.tools.xml
An element model API.
appendValue(Object) - Method in class org.ujorm.tools.msg.ValuePrinter
Append value
apply(ResultSet) - Method in interface org.ujorm.tools.jdbc.JdbcFunction
Applies this function to the given argument.
arguments - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
Argument list
Assert - Class in org.ujorm.tools
Assertion utils, where all method can throw the IllegalArgumentException exception only.
attributes - Variable in class org.ujorm.tools.xml.model.XmlModel
Attributes

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

CDATA_BEG - Static variable in class org.ujorm.tools.xml.AbstractWriter
A CDATA beg markup sequence
CDATA_END - Static variable in class org.ujorm.tools.xml.AbstractWriter
A CDATA end markup sequence
CHAR_SPACE - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
charAt(int) - Method in class org.ujorm.tools.jdbc.ProxySequence
 
charAt(int) - Method in class org.ujorm.tools.msg.MessageArg
 
Check - Class in org.ujorm.tools
Common checker.
check(Object, Class<V>, Function<V, Boolean>) - Static method in class org.ujorm.tools.common.ObjectUtils
Check the result of a function in case the value have got the same class as the required one.
children - Variable in class org.ujorm.tools.xml.model.XmlModel
Child elements with a null items
clear() - Method in class org.ujorm.tools.set.CustomMap
 
close() - Method in class org.ujorm.tools.jdbc.RowIterator
Close all resources
close() - Method in class org.ujorm.tools.web.Element
 
close() - Method in class org.ujorm.tools.web.HtmlElement
 
close() - Method in interface org.ujorm.tools.xml.ApiElement
Close the element
close() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Close the Node
close() - Method in class org.ujorm.tools.xml.model.XmlModel
An empty method
column(CharSequence) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add new column
column(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
 
columnCounter - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
Column counter
columnInsert(CharSequence, Object) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Set new value to column by template {@code name = ?
columnInsert(CharSequence, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
columnUpdate(CharSequence, Object) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Set new value to column by template {@code name = ?
columnUpdate(CharSequence, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
COMMENT_BEG - Static variable in class org.ujorm.tools.xml.AbstractWriter
A comment beg sequence
COMMENT_END - Static variable in class org.ujorm.tools.xml.AbstractWriter
A comment end sequence
compareTo(Wrapper<V>) - Method in class org.ujorm.tools.common.Wrapper
Compares this object with the specified object for order.
condition(CharSequence, String, Object) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add a condition for an argument with length
condition(CharSequence, String, Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
conditionCounter - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
Condition counter
config - Variable in class org.ujorm.tools.xml.AbstractWriter
XML configuration
containsHeader(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
containsKey(Object) - Method in class org.ujorm.tools.set.CustomMap
 
containsValue(Object) - Method in class org.ujorm.tools.set.CustomMap
 
convertKey(Object) - Method in class org.ujorm.tools.msg.MessageService
Convert value.
createElement(String) - Method in class org.ujorm.tools.xml.builder.XmlPrinter
Create any element
createEmbededImage(InputStream, StringBuilder) - Method in class org.ujorm.tools.web.Element
Create a content of an embeded image
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
createValuePrinter(StringBuilder) - Static method in class org.ujorm.tools.jdbc.JdbcBuilder
Create a value printer
createWriter(Object, Charset, boolean) - Static method in class org.ujorm.tools.xml.AbstractWriter
Assign a no-cache and an Edge compatibility mode and returns a writer from HttpServletResponse
CustomMap<K,V> - Class in org.ujorm.tools.set
Implementation of the Map interface where methods hash() and equals() can be customized for all the Map.
CustomMap() - Constructor for class org.ujorm.tools.set.CustomMap
The same mapper as a HashMap
CustomMap(Function<K, MapKeyProxy<K>>) - Constructor for class org.ujorm.tools.set.CustomMap
Mapper with a required equals and hasCode maker
CustomMap(HashMap<MapKeyProxy<K>, V>, Function<K, MapKeyProxy<K>>) - Constructor for class org.ujorm.tools.set.CustomMap
Full configuration mapper
CustomMap.DefaultMapKey<K> - Class in org.ujorm.tools.set
A default implementation of the Map with customized hash() and equals() functions.

D

DEFAULT_FIRST_LEVEL - Static variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
DEFAULT_INTENDATION - Static variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Default intendation have got 4 spaces per level
DEFAULT_MARK - Static variable in class org.ujorm.tools.msg.MsgFormatter
Parameter mark
DEFAULT_NEW_LINE - Static variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Default string or the new line
DefaultHtmlConfig - Class in org.ujorm.tools.xml.config.impl
Configuraion of HtmlPage
DefaultHtmlConfig() - Constructor for class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
defaultLocale - Variable in class org.ujorm.tools.msg.MessageService
Default locale
DefaultMapKey(K) - Constructor for class org.ujorm.tools.set.CustomMap.DefaultMapKey
 
DefaultXmlConfig - Class in org.ujorm.tools.xml.config.impl
Configuraion of HtmlPage
DefaultXmlConfig() - Constructor for class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
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.
doctype - Variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A header declaration of the document or a doctype

E

Element - Class in org.ujorm.tools.web
A HTML Element implements some methods for frequently used elements and attributes A proxy class in the current release
Element(ApiElement) - Constructor for class org.ujorm.tools.web.Element
New element with a parent
encodeRedirectURL(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
encodeRedirectUrl(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
encodeURL(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
encodeUrl(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
entrySet() - Method in class org.ujorm.tools.set.CustomMap
Deprecated.
Method is not implemented yet.
EQ - Static variable in interface org.ujorm.tools.sql.Sql
 
equals(Object) - Method in class org.ujorm.tools.common.Wrapper
 
equals(Object) - Method in class org.ujorm.tools.msg.MessageArg
 
equals(Object) - Method in class org.ujorm.tools.set.CustomMap.DefaultMapKey
 
equals(Object) - Method in interface org.ujorm.tools.set.MapKeyProxy
Make equals
equalsSafely(T) - Method in interface org.ujorm.tools.common.SafelyEqualable
Type-safe equivalent of the #equals(java.lang.Object) method.
executeSelect(Connection) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Create an iterator ready to a loop statement for ( ; ; ) Supported SQL statements are: INSERT, UPDATE, DELETE .
executeSelect(Connection, JdbcFunction<T>) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Create a new result list
executeUpdate(Connection) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Create statement and call PreparedStatement.executeUpdate() .

F

FIELDSET - Static variable in interface org.ujorm.tools.web.Html
Field set
firstItem(T, T...) - Static method in class org.ujorm.tools.Check
Method returns true if the first item equals the value
flushBuffer() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
forHtml(Appendable) - Static method in class org.ujorm.tools.xml.builder.XmlBuilder
Create builder for HTML
forHtml() - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Crete a new instance including a DOCTYPE.
forHtml(Appendable) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Crete a new instance including a DOCTYPE
forHtml(Object) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Create XmlPrinter for UTF-8
forHtml(Appendable, HtmlConfig) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Create XmlPrinter for UTF-8
forHtml(Object, Charset, String, boolean) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Create XmlPrinter for UTF-8
forHtml(Object, HtmlConfig) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Create XmlPrinter for UTF-8.
FORM - Static variable in interface org.ujorm.tools.web.Html
Form element
format(String, Map<String, Object>) - Method in class org.ujorm.tools.msg.MessageService
Format a template message using named variables.
format(String, Locale, CharSequence, Object, Object...) - Method in class org.ujorm.tools.msg.MessageService
Format a template message using named variables.
format(String, Map<String, Object>, Locale) - Method in class org.ujorm.tools.msg.MessageService
Format a template message using named variables.
format(CharSequence, T...) - Static method in class org.ujorm.tools.msg.MsgFormatter
Format the message, see the next correct asserts:
  assertEquals("TEST"    , MsgFormatter.format("TE{}T", "S"));
  assertEquals("TE S T", MsgFormatter.format("TE", "S", "T"));
  assertEquals("TES{}"   , MsgFormatter.format("TE{}{}", "S"));
 
format(T...) - Static method in class org.ujorm.tools.msg.MsgFormatter
Format the message from Object array
format(String, T...) - Static method in class org.ujorm.tools.msg.ValueFormatter
Format the message, see the next correct asserts:
  assertEquals("TEST"    , MsgFormatter.format("TE{}T", "S"));
  assertEquals("TE, S, T", MsgFormatter.format("TE", "S", "T"));
  assertEquals("TES{}"   , MsgFormatter.format("TE{}{}", "S"));
 
format(Object, ApiElement, String) - Method in interface org.ujorm.tools.xml.config.Formatter
Format an objet value to a string ouptut, special characters will be escaped later.
formatMsg(String, Map<String, Object>) - Static method in class org.ujorm.tools.msg.MessageService
Format a target message by a template with arguments
formatMsg(String, CharSequence, Object, Object...) - Static method in class org.ujorm.tools.msg.MessageService
Format a target message by a template with arguments type of Map
formatMsg(CharSequence, T...) - Method in class org.ujorm.tools.msg.MsgFormatter
Format the message, see the next correct asserts:
  assertEquals("TEST"    , MsgFormatter.format("TE{}T", "S"));
  assertEquals("TE, S, T", MsgFormatter.format("TE", "S", "T"));
  assertEquals("TES{}"   , MsgFormatter.format("TE{}{}", "S"));
 
formatMsg(T...) - Method in class org.ujorm.tools.msg.MsgFormatter
Format the message from Object array
formatSql(String, T...) - Static method in class org.ujorm.tools.msg.ValueFormatter
Format the SQL where makup character is '?'.
Formatter - Interface in org.ujorm.tools.xml.config
A value formatter.
forNiceHtml(Appendable) - Static method in class org.ujorm.tools.xml.builder.XmlBuilder
 
forNiceHtml(Appendable) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Crete a new instance including a DOCTYPE
forNiceHtml(Object) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Create XmlPrinter for UTF-8
forNiceXml() - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Crete a new instance with a formatted output.
FORWARD_SLASH - Static variable in class org.ujorm.tools.xml.AbstractWriter
A forward slash character
forXml() - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
Crete a new instance including a XML_HEADER.
forXml(Appendable, XmlConfig) - Static method in class org.ujorm.tools.xml.builder.XmlPrinter
A basic XmlPrinter factory method.
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
 
get(Object) - Method in class org.ujorm.tools.set.CustomMap
 
get() - Method in class org.ujorm.tools.xml.model.XmlModel.RawEnvelope
Get the body
getArguments() - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Returns an array of all JDBC arguments
getAttribs() - Method in class org.ujorm.tools.xml.model.XmlModel
Return attributes
getAttributes() - Method in class org.ujorm.tools.xml.model.XmlModel
Get an unmodifiable map of attributes
getBody() - Method in class org.ujorm.tools.web.HtmlElement
Returns a body element
getBufferSize() - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
getBufferSizeEstimation(boolean) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Estimate a buffer size in characters
getCharacterEncoding() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getCharset() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Charset
getCharset() - Method in interface org.ujorm.tools.xml.config.XmlConfig
Charset
getChildren() - Method in class org.ujorm.tools.xml.model.XmlModel
Get an unmodifiable list of children
getCode() - Method in class org.ujorm.tools.msg.MessageArg
A code name for a template
getColumnOrder() - Method in class org.ujorm.tools.jdbc.JdbcBuilder.SqlEnvelope
 
getConfig() - Method in class org.ujorm.tools.web.HtmlElement
Get config
getContent() - Method in class org.ujorm.tools.web.ao.MockServletResponse
Get a content of the writer
getContentType() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getContentType() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
Get a content type where a recommended value is "text/html"
getContentType() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
getCssLinks() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
CSS links of a HTML page
getCssLinks() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
getDefaultValue() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A replacement text instead of the null value
getDefaultValue() - Method in interface org.ujorm.tools.xml.config.XmlConfig
A replacement text instead of the null value
getDoctype() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
getDoctype() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A header declaration of the document or a doctype
getDoctype() - Method in interface org.ujorm.tools.xml.config.XmlConfig
Doctype
getFirstLevel() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Level of the root element, the value may be negative.
getFirstLevel() - Method in interface org.ujorm.tools.xml.config.XmlConfig
Level of the root element, the value may be negative.
getFormat() - Method in class org.ujorm.tools.msg.MessageArg
Get optional format of the argument
getFormatter() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A default implementation is: String.valueOf(value)
getFormatter() - Method in interface org.ujorm.tools.xml.config.XmlConfig
Get a value formatter
getHead() - Method in class org.ujorm.tools.web.HtmlElement
Returns a head element
getHeader(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
getHeaderNames() - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
getHeaders(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getIndentation() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
An indentation space for elements of the next level, where default value is an empty `String`
getIndentation() - Method in interface org.ujorm.tools.xml.config.XmlConfig
New line
getLanguage() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
Language of a HTML page
getLanguage() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
getLevel() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
 
getLocale() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getName() - Method in class org.ujorm.tools.msg.MessageArg
Get Name of argument
getName() - Method in class org.ujorm.tools.web.Element
 
getName() - Method in class org.ujorm.tools.web.HtmlElement
 
getName() - Method in class org.ujorm.tools.xml.AbstractElement
Deprecated.
 
getName() - Method in interface org.ujorm.tools.xml.ApiElement
Get an element name
getName() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
 
getName() - Method in class org.ujorm.tools.xml.model.XmlModel
 
getNewLine() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A new line sequence
getNewLine() - Method in interface org.ujorm.tools.xml.config.XmlConfig
A new line sequence
getOriginal() - Method in class org.ujorm.tools.set.CustomMap.DefaultMapKey
Get original key
getOriginal() - Method in interface org.ujorm.tools.set.MapKeyProxy
Get the original key
getOutputStream() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getPrintWriter(Appendable) - Static method in class org.ujorm.tools.msg.MsgFormatter
Convert appendable to object type of PrintWriter
getSizeLimit() - Method in class org.ujorm.tools.msg.ValueFormatter
Default lenhth is 32
getSql(boolean) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Returns a SQL text
getSql() - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Returns a SQL statement
getStatus() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getTitle() - Method in class org.ujorm.tools.web.HtmlElement
Get title of configuration
getTitle() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
Title is a required element by HTML 5
getTitle() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
getValue() - Method in class org.ujorm.tools.common.Wrapper
Returns the original value
getValue() - Method in class org.ujorm.tools.jdbc.JdbcBuilder.MarkerEnvelope
SQL argumenent
getValue(Map<String, Object>) - Method in class org.ujorm.tools.msg.MessageArg
Get a value from a map
getWriter() - Method in class org.ujorm.tools.msg.ValuePrinter
Standarad writter
getWriter() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
getWriter() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Writer
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
hashCode() - Method in class org.ujorm.tools.common.Wrapper
 
hashCode() - Method in class org.ujorm.tools.set.CustomMap.DefaultMapKey
 
hashCode() - Method in interface org.ujorm.tools.set.MapKeyProxy
Calculate hash code
hasLength(byte[], M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(char[], M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(V[], M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(Collection<V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(Map<K, V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(V, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(byte[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(char[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(T...) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(Collection<?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(Map<?, ?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(CharSequence) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasNext() - Method in class org.ujorm.tools.jdbc.RowIterator
The last checking closes all resources.
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
HR - Static variable in interface org.ujorm.tools.web.Html
Horizontal rule (line)
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
HTML - Static variable in class org.ujorm.tools.xml.builder.XmlBuilder
The HTML tag name
HTML_DOCTYPE - Static variable in class org.ujorm.tools.xml.AbstractWriter
Default DOCTYPE of HTML-5
HtmlConfig - Interface in org.ujorm.tools.xml.config
Configuraion of HtmlPage
HtmlElement - Class in org.ujorm.tools.web
The root of HTML elements Usage
    MockServletResponse response = new MockServletResponse();
    try (HtmlElement html = HtmlElement.of(response)) {
        html.addBody().addHeading("Hello!")
HtmlElement(HtmlConfig, Writer) - Constructor for class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
HtmlElement(ApiElement, HtmlConfig, Writer) - Constructor for class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers

I

IMAGE - Static variable in interface org.ujorm.tools.web.Html
Image element
IN - Static variable in interface org.ujorm.tools.sql.Sql
 
indentationEnabled - Variable in class org.ujorm.tools.xml.AbstractWriter
An indentation request
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
 
insertMode - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
An insert sign for different rendering
internalElement - Variable in class org.ujorm.tools.web.Element
An original XML element
iof(Object, Class<V>, Function<V, R>) - Static method in class org.ujorm.tools.common.ObjectUtils
Run a function in case the value is an instance of the required class.
IS_NOT_NULL - Static variable in interface org.ujorm.tools.sql.Sql
 
IS_NULL - Static variable in interface org.ujorm.tools.sql.Sql
 
isCacheAllowed() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
isCacheAllowed() - Method in interface org.ujorm.tools.xml.config.XmlConfig
HTTP cache is allowed
isClosed() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Is the node closed?
isColumn() - Method in class org.ujorm.tools.jdbc.JdbcBuilder.SqlEnvelope
A column sign
isCommitted() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
isDocumentObjectModel() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
Build a real model or a plain writer with a recommended value false
isDocumentObjectModel() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Build a real model or a plain writer, the default value is false
isEmpty(byte[], M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(char[], M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(V[], M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(Collection<?>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(Map<?, ?>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(CharSequence, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(byte[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(char[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(T...) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(Collection<?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(Map<?, ?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(CharSequence) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty() - Method in class org.ujorm.tools.set.CustomMap
 
isFalse(boolean, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is false.
isFalse(V, Predicate<V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the predicate is invalid Predicate.test() is false.
isFalseRequired(V, Predicate<V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not null and the predicate is invalid Predicate.test() is false.
isFilled() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
 
isLastText() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
The last child was a text
isNull(Object, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is null.
isPresented(V, M...) - Static method in class org.ujorm.tools.Assert
Return a result with presented value or throw an exception.
isTrue(boolean, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is true.
isTrue(V, Predicate<V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the predicate is valid Predicate.test() is true.
isTrueRequired(V, Predicate<V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the value is not null and the predicate is valid Predicate.test() is true.
ITEM_SEPARATOR - Static variable in class org.ujorm.tools.jdbc.JdbcBuilder
Separator of database columns
iterator() - Method in interface org.ujorm.tools.set.LoopingIterator
Returns the same object to iterate over elements of type T.

J

JdbcBuilder - Class in org.ujorm.tools.jdbc
PrepareStatement builder support How to use a SELECT
 JdbcBuilder sql = new JdbcBuilder()
     .write("SELECT")
     .column("t.id")
     .column("t.name")
     .write("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
 
 JdbcBuilder sql = new JdbcBuilder()
     .write("INSERT INTO testTable (")
     .columnInsert("id", 10)
     .columnInsert("name", "Test")
     .columnInsert("date", someDate)
     .write(")");
 sql.executeUpdate(dbConnection);
 

 How to use a UPDATE
 
 JdbcBuilder sql = new JdbcBuilder()
     .write("UPDATE testTable SET")
     .columnUpdate("name", "Test")
     .columnUpdate("date", SOME_DATE)
     .write("WHERE")
     .andCondition("id", "IN", 10, 20, 30)
     .andCondition("created BETWEEN ?
JdbcBuilder() - Constructor for class org.ujorm.tools.jdbc.JdbcBuilder
Default constructor
JdbcBuilder(List<CharSequence>, List<Object>) - Constructor for class org.ujorm.tools.jdbc.JdbcBuilder
Default constructor
JdbcBuilder.MarkerEnvelope - Class in org.ujorm.tools.jdbc
A value marker envelope
JdbcBuilder.SqlEnvelope - Class in org.ujorm.tools.jdbc
A SQL fragment
JdbcFunction<R> - Interface in org.ujorm.tools.jdbc
A functional interface

K

keySet() - Method in class org.ujorm.tools.set.CustomMap
 
keySetProxy() - Method in class org.ujorm.tools.set.CustomMap
Returns a set fo the proxy key

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
length() - Method in class org.ujorm.tools.jdbc.ProxySequence
 
length() - Method in class org.ujorm.tools.msg.MessageArg
 
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
LoopingIterator<T> - Interface in org.ujorm.tools.set
An exteded Iterator is suitable for use in the for ( ; ; ) statement.
LT - Static variable in interface org.ujorm.tools.sql.Sql
 

M

map(T...) - Method in class org.ujorm.tools.msg.MessageService
Create a map from man pairs key-value
MapKeyProxy<K> - Interface in org.ujorm.tools.set
Implementation of the Map with customize hash and equals functions.
MarkerEnvelope(Object) - Constructor for class org.ujorm.tools.jdbc.JdbcBuilder.MarkerEnvelope
 
MessageArg<T> - Class in org.ujorm.tools.msg
Message Argument
MessageArg(String) - Constructor for class org.ujorm.tools.msg.MessageArg
Name constructor
MessageArg(String, String) - Constructor for class org.ujorm.tools.msg.MessageArg
Common constructor
MessageService - Class in org.ujorm.tools.msg
Message Service.
MessageService() - Constructor for class org.ujorm.tools.msg.MessageService
Create new instance with the Locale.ENGLISH
MessageService(Locale) - Constructor for class org.ujorm.tools.msg.MessageService
 
META - Static variable in interface org.ujorm.tools.web.Html
Meta element
MockServletResponse - Class in org.ujorm.tools.web.ao
Simple proxy servlet response for getting a writer content
MockServletResponse() - Constructor for class org.ujorm.tools.web.ao.MockServletResponse
 
MockServletResponse(int) - Constructor for class org.ujorm.tools.web.ao.MockServletResponse
 
MsgFormatter - Class in org.ujorm.tools.msg
Formatter of log messages where argument is located by the {} characters.
MsgFormatter() - Constructor for class org.ujorm.tools.msg.MsgFormatter
Static methods are available only
MsgFormatter(String) - Constructor for class org.ujorm.tools.msg.MsgFormatter
Static methods are available only

N

name() - Method in class org.ujorm.tools.msg.MessageArg
An alias for method #getName()
name - Variable in class org.ujorm.tools.xml.AbstractElement
Deprecated.
 
name - Variable in class org.ujorm.tools.xml.builder.XmlBuilder
Element name
name - Variable in class org.ujorm.tools.xml.model.XmlModel
Element name
next() - Method in class org.ujorm.tools.jdbc.RowIterator
 
nextChild(XmlBuilder) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Setup states
niceOf(CharSequence, HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
niceOf(CharSequence, HttpServletResponse, Charset, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
niceOf(HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
nonnull(T, T) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
NOT_EQ - Static variable in interface org.ujorm.tools.sql.Sql
 
notNull(V, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not null.
notNullState(V, M...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not null.
notNullValue(Supplier<V>, M...) - Static method in class org.ujorm.tools.Assert
Checks if the value of a supplier is not null without exception..

O

ObjectUtils - Class in org.ujorm.tools.common
Static methods
of(D, Function<D, P>...) - Static method in class org.ujorm.tools.common.Wrapper
Create a new wrapper
of(D, boolean, Function<D, P>...) - Static method in class org.ujorm.tools.common.Wrapper
Create a new wrapper
of(String) - Static method in class org.ujorm.tools.msg.MessageArg
 
of(String, String) - Static method in class org.ujorm.tools.msg.MessageArg
 
of(HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
of(CharSequence, HttpServletResponse, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
of(CharSequence, HttpServletResponse, Charset, CharSequence...) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
of(HttpServletResponse, HtmlConfig) - Static method in class org.ujorm.tools.web.HtmlElement
A base method to create new instance with empty html headers
of(HtmlConfig) - Static method in class org.ujorm.tools.web.HtmlElement
Create new instance with empty html headers
ofDefault() - Static method in interface org.ujorm.tools.xml.config.HtmlConfig
Create a new default config
ofDefault() - Static method in interface org.ujorm.tools.xml.config.XmlConfig
Create a new default config
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.jdbc.JdbcBuilder
Add a condition for a valid argument joined by OR operator
orCondition(CharSequence, String, Object...) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add a condition for a multivalue argument joined by OR operator
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 - package org.ujorm.tools
 
org.ujorm.tools.common - package org.ujorm.tools.common
 
org.ujorm.tools.jdbc - package org.ujorm.tools.jdbc
 
org.ujorm.tools.msg - package org.ujorm.tools.msg
 
org.ujorm.tools.set - package org.ujorm.tools.set
 
org.ujorm.tools.sql - package org.ujorm.tools.sql
 
org.ujorm.tools.web - package org.ujorm.tools.web
 
org.ujorm.tools.web.ao - package org.ujorm.tools.web.ao
 
org.ujorm.tools.xml - package org.ujorm.tools.xml
 
org.ujorm.tools.xml.builder - package org.ujorm.tools.xml.builder
 
org.ujorm.tools.xml.config - package org.ujorm.tools.xml.config
 
org.ujorm.tools.xml.config.impl - package org.ujorm.tools.xml.config.impl
 
org.ujorm.tools.xml.dom - package org.ujorm.tools.xml.dom
A deprecated package
org.ujorm.tools.xml.model - package org.ujorm.tools.xml.model
 
originalKey - Variable in class org.ujorm.tools.set.CustomMap.DefaultMapKey
 
out - Variable in class org.ujorm.tools.msg.ValuePrinter
Writer
out - Variable in class org.ujorm.tools.xml.AbstractWriter
Output

P

P - Static variable in interface org.ujorm.tools.web.Html
Paragraph element
PARAM_BEG - Static variable in class org.ujorm.tools.msg.MessageService
Two-character mark ("${") to introducing a template argument.
PARAM_END - Static variable in class org.ujorm.tools.msg.MessageService
The mark ("}") to finishing a template argument.
PRE - Static variable in interface org.ujorm.tools.web.Html
Preformatted text.
prepareStatement(Connection) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Build the PreparedStatement with arguments
ProxySequence - Class in org.ujorm.tools.jdbc
A proxy CharSequence implementation
ProxySequence(CharSequence) - Constructor for class org.ujorm.tools.jdbc.ProxySequence
 
ProxyServletResponse - Class in org.ujorm.tools.web.ao
Deprecated.
ProxyServletResponse() - Constructor for class org.ujorm.tools.web.ao.ProxyServletResponse
Deprecated.
 
ProxyServletResponse(int) - Constructor for class org.ujorm.tools.web.ao.ProxyServletResponse
Deprecated.
 
put(K, V) - Method in class org.ujorm.tools.set.CustomMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.ujorm.tools.set.CustomMap
 

R

RawEnvelope(Object) - Constructor for class org.ujorm.tools.xml.model.XmlModel.RawEnvelope
 
remove(Object) - Method in class org.ujorm.tools.set.CustomMap
 
REQUIRED_MSG - Static variable in class org.ujorm.tools.xml.builder.XmlBuilder
Assertion message template
REQUIRED_MSG - Static variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Assertion message template
reset() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
resetBuffer() - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
RowIterator - Class in org.ujorm.tools.jdbc
An Iterator for the ResultSet items.
RowIterator(PreparedStatement) - Constructor for class org.ujorm.tools.jdbc.RowIterator
 
RsConsumer - Interface in org.ujorm.tools.jdbc
A ResultSet consumer for usage in the method Stream.forEach()

S

SafelyEqualable<T> - Interface in org.ujorm.tools.common
An object safely equals to a value.
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
sendError(int, String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
sendError(int) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
sendRedirect(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
SEPARATOR - Static variable in class org.ujorm.tools.msg.MsgFormatter
Separator of unmarked arguments '{}' was changed to a single space from release 1.91
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
setAttrib(String, Object) - Method in interface org.ujorm.tools.xml.ApiElement
setAttribute(String, Object) - Method in class org.ujorm.tools.web.Element
Set an attribute
setAttribute(String, Object) - Method in class org.ujorm.tools.web.HtmlElement
 
setAttribute(String, Object) - Method in interface org.ujorm.tools.xml.ApiElement
Set an attribute
setAttribute(String, Object) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Add an attribute
setAttribute(String, Object) - Method in class org.ujorm.tools.xml.model.XmlModel
Set one attribute
setBufferSize(int) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setCacheAllowed(boolean) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
setCellPadding(int) - Method in class org.ujorm.tools.web.Element
Deprecated.
setCellSpacing(int) - Method in class org.ujorm.tools.web.Element
Deprecated.
setCharacterEncoding(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setCharset(Charset) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
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
setCompressedFormat() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Assign parameters for a compressed format of the HTML result
setContentLength(int) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setContentLengthLong(long) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setContentType(String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
 
setContentType(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
setCssLinks(CharSequence...) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
setDateHeader(String, long) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setDefaultValue(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A replacement text instead of the null value
setDoctype(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A header declaration of the document or a doctype
setDocumentObjectModel(boolean) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Build a real model or a plain writer, the default value is false
setDom(boolean) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Use a DOM model
setFirstLevel(int) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Level of the root element, the value may be negative.
setFor(CharSequence) - Method in class org.ujorm.tools.web.Element
Set an value of input element
setFormatter(Formatter) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A default value formatter is implemented by the method String.valueOf(value)
setHeader(String, String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
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.xml.config.impl.DefaultXmlConfig
An indentation space for elements of the next level, where default value is an empty `String`
setIntHeader(String, int) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setLanguage(CharSequence) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
setLocale(Locale) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
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
setNewLine(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A new line sequence
setNiceFormat() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Assign parameters for a nice format of the HTML result
setNiceFormat(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Assign parameters for a nice format of 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
setStatus(int) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setStatus(int, String) - Method in class org.ujorm.tools.web.ao.MockServletResponse
Deprecated.
setTitle(CharSequence) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Title is a required element by HTML 5
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
size() - Method in class org.ujorm.tools.set.CustomMap
 
SPACE - Static variable in class org.ujorm.tools.jdbc.JdbcBuilder
A value marker for SQL
SPAN - Static variable in interface org.ujorm.tools.web.Html
Span element
sql - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
SQL string fragments
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
 
SqlEnvelope(CharSequence) - Constructor for class org.ujorm.tools.jdbc.JdbcBuilder.SqlEnvelope
Default constructor
SqlEnvelope(CharSequence, int) - Constructor for class org.ujorm.tools.jdbc.JdbcBuilder.SqlEnvelope
Column constructor
state(boolean, M...) - Static method in class org.ujorm.tools.Assert
If the value Checks if the argument is true.
STYLE - Static variable in interface org.ujorm.tools.web.Html
Style element
subSequence(int, int) - Method in class org.ujorm.tools.jdbc.ProxySequence
 
subSequence(int, int) - Method in class org.ujorm.tools.msg.MessageArg
 

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
template(T...) - Method in class org.ujorm.tools.msg.MessageService
Create a message template from argument pairs key-value
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
toCode() - Method in class org.ujorm.tools.msg.MessageArg
Convert attributes to a code
toStream() - Method in interface org.ujorm.tools.set.LoopingIterator
Convert to a closeable Stream
toString() - Method in class org.ujorm.tools.common.Wrapper
 
toString() - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Returns a SQL preview including values
toString() - Method in class org.ujorm.tools.jdbc.ProxySequence
 
toString() - Method in class org.ujorm.tools.msg.MessageArg
Returns a code name
toString() - Method in class org.ujorm.tools.msg.ValuePrinter
Writer result
toString() - Method in class org.ujorm.tools.set.CustomMap.DefaultMapKey
 
toString() - Method in class org.ujorm.tools.web.ao.MockServletResponse
Get a content of the writer
toString() - Method in class org.ujorm.tools.web.Element
String value
toString() - Method in class org.ujorm.tools.web.HtmlElement
Returns an Render the HTML code including header.
toString() - Method in class org.ujorm.tools.xml.AbstractWriter
 
toString() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Render the XML code including header
toString() - Method in class org.ujorm.tools.xml.builder.XmlPrinter
 
toString() - Method in class org.ujorm.tools.xml.model.XmlModel
Render the XML code including header
toWriter(int, XmlWriter) - Method in class org.ujorm.tools.xml.model.XmlModel
Render the XML code without 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
 
uniqueValue(Class<T>, Connection) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Return the first column value of a unique resultset, else returns null value
uniqueValueOptional(Class<T>, Connection) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Return the first column value of a unique resultset
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.jdbc.JdbcBuilder
Add an argument value (including a SEPARATOR and a MARKER) for buidling a SQL INSERT statement
value(Object) - Method in class org.ujorm.tools.sql.SqlBuilder
 
VALUE_MARKER - Static variable in class org.ujorm.tools.jdbc.JdbcBuilder
A value marker for SQL
valueBorder - Variable in class org.ujorm.tools.msg.ValueFormatter
Border of the byte array
ValueFormatter - Class in org.ujorm.tools.msg
Formatter of log messages where argument is located by the {} characters.
ValueFormatter() - Constructor for class org.ujorm.tools.msg.ValueFormatter
Static methods are available only
ValueFormatter(String, String) - Constructor for class org.ujorm.tools.msg.ValueFormatter
Static methods are available only
ValuePrinter - Class in org.ujorm.tools.msg
Print values to an output
ValuePrinter(int) - Constructor for class org.ujorm.tools.msg.ValuePrinter
Constructor
ValuePrinter(StringBuilder) - Constructor for class org.ujorm.tools.msg.ValuePrinter
Constructor
ValuePrinter(String, String, StringBuilder) - Constructor for class org.ujorm.tools.msg.ValuePrinter
Constructor
values() - Method in class org.ujorm.tools.set.CustomMap
 
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
wrap(V) - Method in class org.ujorm.tools.common.Wrapper
Create a new wrapper for the value
Wrapper<V> - Class in org.ujorm.tools.common
The wrapper implements a common hash(), equals() and compareTo() methods Usage:
   Person p1 = new Person(1, "A");
   Person p2 = new Person(1, "B");
   Wrapper<Person> w1 = Wrapper.of(p1, Person::getId, Person::getName);
   Wrapper<Person> w2 = w1.wrap(p2);
   assertTrue(w1.compareTo(w2) < 0);
 
write(JdbcBuilder) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add a another statement to the end of this statement.
write(CharSequence) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Write a sql fragment including a space before
write(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
 
write(SqlBuilder) - Method in class org.ujorm.tools.sql.SqlBuilder
 
write(CharSequence, boolean) - Method in class org.ujorm.tools.xml.AbstractWriter
Write escaped value to the output
write(int, XmlModel) - Method in class org.ujorm.tools.xml.model.XmlWriter
Render the XML code without header
write(int, CharSequence, Map<String, Object>, List<Object>, XmlModel) - Method in class org.ujorm.tools.xml.model.XmlWriter
Render the XML code without header
writeByteArray(byte[], StringBuilder) - Method in class org.ujorm.tools.msg.ValueFormatter
Write bytes as hexa
writeLongValue(CharSequence, StringBuilder) - Method in class org.ujorm.tools.msg.ValueFormatter
You can call the method from a child class
writeMany(CharSequence...) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Write many sql fragments including a space before
writeMany(CharSequence...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
writeManyNoSpace(CharSequence...) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Write many sql fragments with no space before
writeManyNoSpace(CharSequence...) - Method in class org.ujorm.tools.sql.SqlBuilder
 
writeNewLine(int) - Method in class org.ujorm.tools.xml.AbstractWriter
Write a new line with an offset by the current level
writeNoSpace(CharSequence) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Write a sql fragment with no space before
writeNoSpace(CharSequence) - Method in class org.ujorm.tools.sql.SqlBuilder
 
writeOperator(boolean, boolean) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Write an opetaror AND / OR
writeRawValue(CharSequence, ApiElement) - Method in class org.ujorm.tools.xml.AbstractWriter
Write the content of an envelope
writeRawValue(Object, XmlBuilder) - Method in class org.ujorm.tools.xml.builder.XmlPrinter
Write the content of an envelope
writeValue(Object, StringBuilder, Locale) - Method in class org.ujorm.tools.msg.MessageService
Write a value to the output buffer.
writeValue(Object, StringBuilder, boolean) - Method in class org.ujorm.tools.msg.MsgFormatter
Print argument to the Writter with an optional format.
writeValue(Object, StringBuilder, boolean) - Method in class org.ujorm.tools.msg.ValueFormatter
Print argument to the Writter with an optional format.
writeValue(Object, ApiElement, String) - Method in class org.ujorm.tools.xml.AbstractWriter
Write escaped value to the output

X

XML_2QUOT - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
XML_AMPERSAND - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
XML_APOSTROPHE - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
XML_GT - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
XML_HEADER - Static variable in class org.ujorm.tools.xml.AbstractWriter
Default XML declaration
XML_LT - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
XmlBuilder - Class in org.ujorm.tools.xml.builder
A XML builder.
XmlBuilder(CharSequence, XmlPrinter, int) - Constructor for class org.ujorm.tools.xml.builder.XmlBuilder
The new element constructor
XmlBuilder(CharSequence, XmlPrinter, int, boolean) - Constructor for class org.ujorm.tools.xml.builder.XmlBuilder
The new element constructor
XmlBuilder(CharSequence, XmlPrinter) - Constructor for class org.ujorm.tools.xml.builder.XmlBuilder
New element with a parent
XmlConfig - Interface in org.ujorm.tools.xml.config
Configuraion of HtmlPage
XmlElement - Class in org.ujorm.tools.xml.dom
Deprecated.
Use the XmlModel rather.
XmlElement(CharSequence) - Constructor for class org.ujorm.tools.xml.dom.XmlElement
Deprecated.
 
XmlElement(CharSequence, XmlModel) - Constructor for class org.ujorm.tools.xml.dom.XmlElement
Deprecated.
 
XmlModel - Class in org.ujorm.tools.xml.model
XML element model to rendering a XML file.
XmlModel(CharSequence) - Constructor for class org.ujorm.tools.xml.model.XmlModel
The new element constructor
XmlModel(CharSequence, XmlModel) - Constructor for class org.ujorm.tools.xml.model.XmlModel
New element with a parent
XmlModel.RawEnvelope - Class in org.ujorm.tools.xml.model
Raw XML code envelope
XmlPrinter - Class in org.ujorm.tools.xml.builder
If you need special formatting, overwrite responsible methods.
XmlPrinter() - Constructor for class org.ujorm.tools.xml.builder.XmlPrinter
Default constructor a zero offset
XmlPrinter(Appendable) - Constructor for class org.ujorm.tools.xml.builder.XmlPrinter
Writer constructor with a zero offset
XmlPrinter(Appendable, XmlConfig) - Constructor for class org.ujorm.tools.xml.builder.XmlPrinter
A writer constructor
XmlWriter - Class in org.ujorm.tools.xml.model
If you need special formatting, overwrite responsible methods.
XmlWriter() - Constructor for class org.ujorm.tools.xml.model.XmlWriter
Default constructor a zero offset
XmlWriter(Appendable) - Constructor for class org.ujorm.tools.xml.model.XmlWriter
Writer constructor with a zero offset
XmlWriter(Appendable, String) - Constructor for class org.ujorm.tools.xml.model.XmlWriter
A writer constructor
A B C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links

Copyright 2019-2022, Pavel Ponec