Class XmlNode
- java.lang.Object
-
- org.eolang.jeo.representation.xmir.XmlNode
-
public final class XmlNode extends Object
XML smart element. Utility class that simplifies work with XML.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
attribute(String name)
Get attribute.Stream<XmlNode>
children()
Get all child nodes.boolean
equals(Object obj)
int
hashCode()
String
text()
Retrieve node text content.String
toString()
-
-
-
Method Detail
-
text
public String text()
Retrieve node text content.- Returns:
- Text content.
-
-