Class XmlNode
java.lang.Object
org.eolang.jeo.representation.xmir.XmlNode
XML smart element.
Utility class that simplifies work with XML.
- Since:
- 0.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlNode
Constructor.- Parameters:
xml
- XML string.
-
XmlNode
Constructor.- Parameters:
parent
- Parent node.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
children
Get all child nodes.- Returns:
- Child nodes.
-
text
Retrieve node text content.- Returns:
- Text content.
-
attribute
Get attribute.- Parameters:
name
- Attribute name.- Returns:
- Attribute.
-