- All Implemented Interfaces:
XmlDoc
public final class NativeXmlDoc
extends Object
implements XmlDoc
Native XML document.
- Since:
- 0.7
-
Constructor Summary
Constructors
-
Method Summary
Get the root node of the XML document.
void
Validate the XML document.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NativeXmlDoc
public NativeXmlDoc(Path path)
Constructor.
- Parameters:
path
- Path to XML file.
-
Method Details
-
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