Package | Description |
---|---|
org.ujorm.tools.xml.dom |
A deprecated package
|
org.ujorm.tools.xml.model |
Modifier and Type | Class and Description |
---|---|
class |
XmlElement
Deprecated.
Use the
XmlModel rather. |
Constructor and Description |
---|
XmlElement(CharSequence name,
XmlModel parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
XmlModel |
XmlModel.addCDATA(CharSequence charData)
Add a character data in
CDATA format to XML only. |
XmlModel |
XmlModel.addComment(CharSequence comment)
Add a comment text.
|
XmlModel |
XmlModel.addElement(String name)
Create a new
XmlModel for a required name and add it to children. |
XmlModel |
XmlModel.addElement(XmlModel element)
Add a child element
|
XmlModel |
XmlModel.addRawText(Object value)
Add an native text with no escaped characters, for example: XML code, JavaScript, CSS styles
|
XmlModel |
XmlModel.addText(Object value)
Add a text and escape special character
|
XmlModel |
XmlModel.setAttribute(String name,
Object value)
Set one attribute
|
Modifier and Type | Method and Description |
---|---|
XmlModel |
XmlModel.addElement(XmlModel element)
Add a child element
|
protected XmlWriter |
XmlWriter.write(int level,
CharSequence name,
Map<String,Object> attributes,
List<Object> children,
XmlModel element)
Render the XML code without header
|
XmlWriter |
XmlWriter.write(int level,
XmlModel element)
Render the XML code without header
|
Constructor and Description |
---|
XmlModel(CharSequence name,
XmlModel parent)
New element with a parent
|
Copyright 2019-2022, Pavel Ponec