Class NativeXmlDoc

java.lang.Object
org.eolang.jeo.representation.xmir.NativeXmlDoc
All Implemented Interfaces:
XmlDoc

public final class NativeXmlDoc extends Object implements XmlDoc
Native XML document.
Since:
0.7
  • Constructor Details

    • NativeXmlDoc

      public NativeXmlDoc(Path path)
      Constructor.
      Parameters:
      path - Path to XML file.
  • Method Details

    • root

      public XmlNode root()
      Description copied from interface: XmlDoc
      Get the root node of the XML document.
      Specified by:
      root in interface XmlDoc
      Returns:
      The root XML node
    • validate

      public void validate()
      Description copied from interface: XmlDoc
      Validate the XML document.
      Specified by:
      validate in interface XmlDoc