Class JcabiXmlDoc

  • All Implemented Interfaces:
    XmlDoc

    public final class JcabiXmlDoc
    extends Object
    implements XmlDoc
    Jcabi XML document.
    Since:
    0.8
    • Constructor Detail

      • JcabiXmlDoc

        public JcabiXmlDoc​(Path path)
        Constructor.
        Parameters:
        path - Path to XML file.
      • JcabiXmlDoc

        public JcabiXmlDoc​(com.jcabi.xml.XML doc)
        Constructor.
        Parameters:
        doc - XML
    • Method Detail

      • root

        public XmlNode root()
        Description copied from interface: XmlDoc
        Root node.
        Specified by:
        root in interface XmlDoc
        Returns:
        Root node.
      • validate

        public void validate()
        Specified by:
        validate in interface XmlDoc