Package | Description |
---|---|
org.ujorm.tools.web | |
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
A proxy class in the current release
|
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
|
Constructor and Description |
---|
Element(ApiElement original)
New element with a parent
|
HtmlElement(ApiElement root,
HtmlConfig config,
Writer writer)
Create new instance with empty html headers
|
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.
|
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