| Package | Description |
|---|---|
| org.ujorm.tools.web | |
| org.ujorm.tools.web.table | |
| org.ujorm.tools.xml | |
| org.ujorm.tools.xml.builder | |
| org.ujorm.tools.xml.config | |
| org.ujorm.tools.xml.dom |
A deprecated package
|
| org.ujorm.tools.xml.model |
| Modifier and Type | Class and Description |
|---|---|
class |
Element
A HTML Element implements some methods for frequently used elements and attributes
Usage
ServletResponse response = new ServletResponse();
try (HtmlElement html = HtmlElement.of(response)) {
try (Element body = html.getBody()) {
body.addHeading("Hello!") |
class |
HtmlElement
The root of HTML elements
Usage
ServletResponse response = new ServletResponse();
try (HtmlElement html = HtmlElement.of(response)) {
html.addBody().addHeading("Hello!") |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Element |
Element.of(@NotNull ApiElement original)
New element for an API element
|
| Constructor and Description |
|---|
HtmlElement(@NotNull ApiElement root,
@NotNull HtmlConfig config,
@NotNull Appendable writer)
Create new instance with empty html headers
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridBuilder.build(@NotNull ApiElement parent,
@NotNull ColumnModel sortedColumn,
@NotNull Function<GridBuilder<D>,Stream<D>> resource)
Build the HTML page including a table
|
void |
GridBuilder.build(@NotNull ApiElement parent,
@NotNull Function<GridBuilder<D>,Stream<D>> resource)
Build the HTML page including a table
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ApiElement<E extends ApiElement<?>>
An element model API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractElement<E extends AbstractElement<?>>
Deprecated.
Use the interface
ApiElement rather. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractWriter.writeRawValue(@NotNull CharSequence rawValue,
@NotNull ApiElement element)
Write the content of an envelope
|
void |
AbstractWriter.writeValue(@Nullable Object value,
@NotNull ApiElement element,
@Nullable String attributeName)
Write escaped value to the output
|
| Modifier and Type | Class and Description |
|---|---|
class |
XmlBuilder
A XML builder.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull CharSequence |
Formatter.format(@Nullable Object value,
@NotNull ApiElement element,
@Nullable String attributeName)
Format an objet value to a string ouptut, special characters will be escaped later.
|
default boolean |
XmlConfig.pairElement(@NotNull ApiElement element)
The pair element for termination is required.
|
default boolean |
HtmlConfig.pairElement(@NotNull ApiElement element) |
void |
ApiInjector.write(@NotNull ApiElement element)
Performs an operation on the argument element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XmlElement
Deprecated.
Use the
XmlModel rather. |
| Modifier and Type | Class and Description |
|---|---|
class |
XmlModel
XML element model to rendering a XML file.
|
Copyright 2015, Pavel Ponec