Interface XmlNode

All Known Implementing Classes:
CData, Comment, TextNode, XmlElement

public interface XmlNode
Base interface for all XML node types in the Oorian XML library.

XmlNode represents any node that can appear in an XML document tree, including elements (XmlElement), text nodes (TextNode), and CDATA sections (CData).

Since:
2020
Author:
Marvin P. Warble Jr.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    toXmlString(int indent)
    Returns the XML string representation of this node with the specified indentation level.
  • Method Details

    • toXmlString

      String toXmlString(int indent)
      Returns the XML string representation of this node with the specified indentation level.
      Parameters:
      indent - the indentation level (number of two-space indents).
      Returns:
      the formatted XML string.