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
MockServletResponse response = new MockServletResponse(); try (HtmlElement html = HtmlElement.of(response)) { try (Element body = html.getBody()) { body.addHeading("Hello!") |
class |
HtmlElement
The root of HTML elements
Usage
MockServletResponse response = new MockServletResponse(); try (HtmlElement html = HtmlElement.of(response)) { html.addBody().addHeading("Hello!") |
Modifier and Type | Field and Description |
---|---|
protected ApiElement |
Element.internalElement
An original XML element
|
Modifier and Type | Method and Description |
---|---|
static Element |
Element.of(ApiElement original)
New element for an API element
|
Constructor and Description |
---|
Element(ApiElement original)
New element for an API element
|
HtmlElement(ApiElement root,
HtmlConfig config,
Appendable writer)
Create new instance with empty html headers
|
Modifier and Type | Method and Description |
---|---|
void |
GridBuilder.build(ApiElement parent,
ColumnModel sortedColumn,
Function<GridBuilder<D>,Stream<D>> resource)
Build the HTML page including a table
|
void |
GridBuilder.build(ApiElement parent,
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(CharSequence rawValue,
ApiElement element)
Write the content of an envelope
|
void |
AbstractWriter.writeValue(Object value,
ApiElement element,
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 |
---|---|
CharSequence |
Formatter.format(Object value,
ApiElement element,
String attributeName)
Format an objet value to a string ouptut, special characters will be escaped later.
|
void |
ApiInjector.write(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 2019-2022, Pavel Ponec