Interface XmlDoc

All Known Implementing Classes:
JcabiXmlDoc, NativeXmlDoc

public interface XmlDoc
XML document abstraction interface.

This interface provides an abstraction layer for XML documents, allowing the use of different XML implementations:

  • JCabi XML library implementation
  • Native Java XML implementation
Since:
0.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the root node of the XML document.
    void
    Validate the XML document.
  • Method Details

    • root

      XmlNode root()
      Get the root node of the XML document.
      Returns:
      The root XML node
    • validate

      void validate()
      Validate the XML document.