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:XmlNodeGet all child nodes. -
text
Description copied from interface:XmlNodeRetrieve node text content. -
attribute
Description copied from interface:XmlNodeGet attribute. -
child
Description copied from interface:XmlNodeGet child node. -
xpath
Find elements by xpath. -
validate
public void validate()Description copied from interface:XmlNodeValidate the node.
-