Class NativeXmlNode
java.lang.Object
org.eolang.jeo.representation.xmir.NativeXmlNode
- All Implemented Interfaces:
XmlNode
XML smart element.
Utility class that simplifies work with XML.
- Since:
- 0.1
-
Constructor Summary
ConstructorsConstructorDescriptionNativeXmlNode
(String xml) Constructor.NativeXmlNode
(Node parent) Constructor. -
Method Summary
-
Constructor Details
-
NativeXmlNode
Constructor.- Parameters:
xml
- XML string.
-
NativeXmlNode
Constructor.- Parameters:
parent
- Xml node.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
children
Description copied from interface:XmlNode
Get all child nodes. -
text
Description copied from interface:XmlNode
Retrieve node text content. -
attribute
Description copied from interface:XmlNode
Get attribute. -
child
Description copied from interface:XmlNode
Get child node. -
xpath
Find elements by xpath. -
validate
public void validate()Description copied from interface:XmlNode
Validate the node.
-