Interface XmlNode

All Known Implementing Classes:
XmlNodeImpl

@Experimental @ThreadSafe @Immutable public interface XmlNode
An immutable XML node representation that provides a clean API for working with XML data structures. This interface represents a single node in an XML document tree, containing information about the node's name, value, attributes, and child nodes.

Example usage:

XmlNode node = XmlNode.newBuilder()
    .name("configuration")
    .attribute("version", "1.0")
    .child(XmlNode.newInstance("property", "value"))
    .build();
Since:
4.0.0