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

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
 
add(Joinable<R, F>) - Method in interface org.ujorm.tools.common.Joinable
Send a result of the first function to the next one.
add(CharSequence...) - Method in class org.ujorm.tools.common.TextBuilder
 
addArguments(Object...) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add argument values with no SAPARATOR and no MARKER (for a common use)
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 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.
addElement(String) - Method in interface org.ujorm.tools.xml.ApiElement
Create a new ApiElement 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.
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
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
addTextTemplated(CharSequence, Object...) - Method in interface org.ujorm.tools.xml.ApiElement
Message template
addTextTemplated(CharSequence, Object...) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Message template with hight performance.
addTextTemplated(CharSequence, Object...) - Method in class org.ujorm.tools.xml.model.XmlModel
Message template with hight performance.
addValue(Object) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add a value to SQL (inlucing MARKER)
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
ApiElement<E extends ApiElement<?>> - Interface in org.ujorm.tools.xml
An element model API.
ApiInjector - Interface in org.ujorm.tools.xml.config
An common element writer
appendValue(Object) - Method in class org.ujorm.tools.msg.ValuePrinter
Append value
apply(D) - Method in interface org.ujorm.tools.common.Joinable
Applies this function to the given argument.
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

begTag - Variable in class org.ujorm.tools.msg.MessageService
Two-character mark ("${") to introducing a template argument.
buildResource(Class<?>, String...) - Method in class org.ujorm.tools.common.StringUtils
Build a resource

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
charAt(int) - Method in class org.ujorm.tools.common.TextBuilder
 
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
 
cloneForAjax() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
Clone the config for an AJAX processing
close() - Method in class org.ujorm.tools.jdbc.RowIterator
Close all resources
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
collectToDequeue() - Static method in class org.ujorm.tools.common.StreamUtils
A stream collecetor to a ArrayDeque type
column(CharSequence) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Add new column
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 = ?
columnUpdate(CharSequence, Object) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Set new value to column by template {@code name = ?
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
conditionCounter - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
Condition counter
Confessionable - Interface in org.ujorm.tools.common
An interface for common export an object to an appendable writer
confessTo(Appendable) - Method in interface org.ujorm.tools.common.Confessionable
Confess data to a writer
confessTo(Appendable) - Method in class org.ujorm.tools.common.Wrapper
 
config - Variable in class org.ujorm.tools.xml.AbstractWriter
XML configuration
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
createValuePrinter(Appendable) - 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 first level of intendation
DEFAULT_INTENDATION - Static variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Default intendation 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
 
DefaultHtmlConfig(HtmlConfig) - 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
 
DefaultXmlConfig(XmlConfig) - Constructor for class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Copy attributes from other config
doctype - Variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A header declaration of the document or a doctype

E

EMPTY - Static variable in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
An empty String
emptyLine() - Method in class org.ujorm.tools.common.TextBuilder
 
endsByNewLine() - Method in class org.ujorm.tools.common.TextBuilder
 
endTag - Variable in class org.ujorm.tools.msg.MessageService
The mark ("}") to finishing a template argument.
entrySet() - Method in class org.ujorm.tools.set.CustomMap
Deprecated.
Method is not implemented yet.
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

firstItem(T, T...) - Static method in class org.ujorm.tools.Check
Method returns true if the first item equals the value
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.
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(Appendable, 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(Appendable, 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(Appendable, 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 - Static variable in class org.ujorm.tools.xml.AbstractWriter
Common formatter
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.

G

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
getBufferSizeEstimation(boolean) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Estimate a buffer size in characters
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
 
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
getHeaderInjector() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
 
getHeaderInjector() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Return a header injector
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
 
getName() - Method in class org.ujorm.tools.msg.MessageArg
Get Name of argument
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
getRawHeaderText() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
Deprecated.
getRawHeaderText() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
A raw text for HTML header
getRootElementName() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
A name of root element
getRootElementName() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
A name of root element
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
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.xml.AbstractWriter
For internal usage only
getWriter() - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Writer
getWriterEscaped() - Method in class org.ujorm.tools.xml.AbstractWriter
Get Writer to escape HTML characters.

H

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.
HIDDEN_NAME - Static variable in interface org.ujorm.tools.xml.ApiElement
A name of a hidden 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

I

indentationEnabled - Variable in class org.ujorm.tools.xml.AbstractWriter
An indentation request
insertMode - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
An insert sign for different rendering
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.
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
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.common.TextBuilder
 
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
 
isHtmlHeaderRequest() - Method in interface org.ujorm.tools.xml.config.HtmlConfig
A request to generate a minimal HTML header
isHtmlHeaderRequest() - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
A request to generate a minimal HTML header
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
Joinable<D,R> - Interface in org.ujorm.tools.common
A joinable function Usage Function<Person, String> nameProvider = Joinable .of (Person::getBoss) .add(Person::getBoss) .add(Person::getName); String superBossName = nameProvider.apply(getPerson());

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

length() - Method in class org.ujorm.tools.common.TextBuilder
 
length() - Method in class org.ujorm.tools.jdbc.ProxySequence
 
length() - Method in class org.ujorm.tools.msg.MessageArg
 
line(CharSequence...) - Method in class org.ujorm.tools.common.TextBuilder
 
LoopingIterator<T> - Interface in org.ujorm.tools.set
An exteded Iterator is suitable for use in the for ( ; ; ) statement.

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(String, char, Locale) - Constructor for class org.ujorm.tools.msg.MessageService
 
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
NBSP - Static variable in class org.ujorm.tools.xml.AbstractWriter
Non-breaking space character
NEW_LINE - Static variable in class org.ujorm.tools.common.TextBuilder
 
next() - Method in class org.ujorm.tools.jdbc.RowIterator
 
nextChild(XmlBuilder) - Method in class org.ujorm.tools.xml.builder.XmlBuilder
Setup states
nonnull(T, T) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
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(Function<D, R>) - Static method in interface org.ujorm.tools.common.Joinable
Create a joinable function
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(HtmlConfig) - Static method in interface org.ujorm.tools.xml.config.HtmlConfig
Clone config form another
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
ofDoctype(String) - Static method in interface org.ujorm.tools.xml.config.XmlConfig
Create a new default config
ofElement(String, boolean) - Static method in interface org.ujorm.tools.xml.config.HtmlConfig
No HTML header is generated, no Doctype and no new lines
ofElementName(String) - Static method in interface org.ujorm.tools.xml.config.HtmlConfig
No HTML header is generated, no Doctype and no new lines
ofEmptyElement() - Static method in interface org.ujorm.tools.xml.config.HtmlConfig
Create a configuration for an AJAX response.
ofTitle(String) - Static method in interface org.ujorm.tools.xml.config.HtmlConfig
Create a new configuration with a nice format by an HTML title.
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
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.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

PARAM_BEG - Static variable in class org.ujorm.tools.msg.MessageArg
Two-character mark ("${") to introducing a template argument.
PARAM_END - Static variable in class org.ujorm.tools.msg.MessageArg
The mark ("}") to finishing a template argument.
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
 
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
 
read(Class<?>, String...) - Static method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
read(InputStream) - Static method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readBody(String...) - Method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readBody(Class<?>, String...) - Method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readBody(InputStream) - Method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readLines(URL) - Static method in class org.ujorm.tools.common.StringUtils
Read a closeable line stream of the URL.
readLines(Class<?>, String...) - Static method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readLines(String...) - Static method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readRows(Class<?>, String...) - Method in class org.ujorm.tools.common.StringUtils
Read a content of the resource encoded by UTF-8.
readRows(URL) - Method in class org.ujorm.tools.common.StringUtils
Read a closeable line stream of the URL.
readRows(InputStream) - Method in class org.ujorm.tools.common.StringUtils
Read a closeable line stream of the URL.
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
RowIterator - Class in org.ujorm.tools.jdbc
An Iterator for the ResultSet items.
RowIterator(PreparedStatement) - Constructor for class org.ujorm.tools.jdbc.RowIterator
 
rows(String) - Method in class org.ujorm.tools.common.StreamUtils
Read a String.
rowsOfUrl(URL) - Static method in class org.ujorm.tools.common.StreamUtils
Returns a stream of lines form URL resource
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.
SEPARATOR - Static variable in class org.ujorm.tools.common.StringUtils
File separator (one character is required)
SEPARATOR - Static variable in class org.ujorm.tools.msg.MsgFormatter
Separator of unmarked arguments '{}' was changed to a single space from release 1.91
setAttrib(String, Object) - Method in interface org.ujorm.tools.xml.ApiElement
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
setCacheAllowed(boolean) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
 
setCharset(Charset) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Charset
setCompressedFormat() - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Assign parameters for a compressed format of the HTML result
setContentType(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
setCssLinks(CharSequence...) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
setDefaultValue(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A replacement text instead of the null value
setDoctype(CharSequence) - 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.DefaultHtmlConfig
setFirstLevel(int) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Level of the root element, the value may be negative.
setFormatter(Formatter) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
A default value formatter is implemented by the method String.valueOf(value)
setHeaderInjector(ApiInjector) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Assign a new header injector
setHtmlHeader(boolean) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
A request to generate a minimal HTML header
setIndentationSpace(CharSequence) - 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`
setLanguage(CharSequence) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
 
setNewLine(CharSequence) - 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(CharSequence) - Method in class org.ujorm.tools.xml.config.impl.DefaultXmlConfig
Assign parameters for a nice format of the HTML result
setRawHedaderCode(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Deprecated. 
setRootElementName(String) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
The element name must not be special HTML characters.
setTitle(CharSequence) - Method in class org.ujorm.tools.xml.config.impl.DefaultHtmlConfig
Title is a required element by HTML 5
size() - Method in class org.ujorm.tools.set.CustomMap
 
SPACE - Static variable in class org.ujorm.tools.jdbc.JdbcBuilder
A value marker for SQL
SPACE - Static variable in class org.ujorm.tools.xml.AbstractWriter
A special XML character
sql - Variable in class org.ujorm.tools.jdbc.JdbcBuilder
SQL string fragments
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.
StreamUtils - Class in org.ujorm.tools.common
Static methods
StringUtils - Class in org.ujorm.tools.common
Methods to reading an text resource to the String.
StringUtils() - Constructor for class org.ujorm.tools.common.StringUtils
With a charset UTF-8
StringUtils(Charset) - Constructor for class org.ujorm.tools.common.StringUtils
 
StringUtils(Charset, Class<?>) - Constructor for class org.ujorm.tools.common.StringUtils
 
subSequence(int, int) - Method in class org.ujorm.tools.common.TextBuilder
 
subSequence(int, int) - Method in class org.ujorm.tools.jdbc.ProxySequence
 
subSequence(int, int) - Method in class org.ujorm.tools.msg.MessageArg
 

T

template(T...) - Method in class org.ujorm.tools.msg.MessageService
Create a message template from argument pairs key-value
TextBuilder - Class in org.ujorm.tools.common
Building a text.
TextBuilder() - Constructor for class org.ujorm.tools.common.TextBuilder
 
TextBuilder(StringBuilder) - Constructor for class org.ujorm.tools.common.TextBuilder
 
toCode() - Method in class org.ujorm.tools.msg.MessageArg
Convert attributes to a code
toJoinable(Function<D, R>) - Static method in class org.ujorm.tools.common.StreamUtils
Create a joinable function Usage Function<Person, String> nameProvider = Joinable .of (Person::getBoss) .add(Person::getBoss) .add(Person::getName); String superBossName = nameProvider.apply(getPerson());
toPrintWriter(Appendable) - Static method in class org.ujorm.tools.common.ObjectUtils
Convert appendable to object type of PrintWriter
toStream(Iterator<T>) - Static method in class org.ujorm.tools.common.StreamUtils
Convert an interator to a Stream
toStream(Iterator<T>, boolean) - Static method in class org.ujorm.tools.common.StreamUtils
Convert an interator to a Stream
toStream() - Method in interface org.ujorm.tools.set.LoopingIterator
Convert to a closeable Stream
toString() - Method in class org.ujorm.tools.common.TextBuilder
 
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.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

U

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

V

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_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(Appendable) - Constructor for class org.ujorm.tools.msg.ValuePrinter
Constructor
ValuePrinter(String, String, Appendable) - Constructor for class org.ujorm.tools.msg.ValuePrinter
Constructor
values() - Method in class org.ujorm.tools.set.CustomMap
 

W

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, boolean) - Method in class org.ujorm.tools.xml.AbstractWriter
Write escaped value to the output
write(ApiElement) - Method in interface org.ujorm.tools.xml.config.ApiInjector
Performs an operation on the argument element.
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[], Appendable) - Method in class org.ujorm.tools.msg.ValueFormatter
Write bytes as hexa
writeLongValue(CharSequence, Appendable) - 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
writeManyNoSpace(CharSequence...) - Method in class org.ujorm.tools.jdbc.JdbcBuilder
Write many sql fragments with no space before
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
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
writeTo(Appendable) - Method in class org.ujorm.tools.common.TextBuilder
 
writeValue(Object, Appendable, Locale) - Method in class org.ujorm.tools.msg.MessageService
Write a value to the output buffer.
writeValue(Object, Appendable, boolean) - Method in class org.ujorm.tools.msg.MsgFormatter
Print argument to the Writter with an optional format.
writeValue(Object, Appendable, 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(String, XmlPrinter, int) - Constructor for class org.ujorm.tools.xml.builder.XmlBuilder
The new element constructor
XmlBuilder(String, XmlPrinter, int, boolean) - Constructor for class org.ujorm.tools.xml.builder.XmlBuilder
The new element constructor
XmlBuilder(String, 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(String) - Constructor for class org.ujorm.tools.xml.dom.XmlElement
Deprecated.
 
XmlElement(String, 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(String) - Constructor for class org.ujorm.tools.xml.model.XmlModel
 
XmlModel(String, 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, CharSequence) - 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 2015, Pavel Ponec