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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XmlNode
root()
Get the root node of the XML document.void
validate()
Validate the XML document.
-
-
-
Method Detail
-
root
XmlNode root()
Get the root node of the XML document.- Returns:
- The root XML node
-
validate
void validate()
Validate the XML document.
-
-