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.booleanequals(Object obj)inthashCode()Stringtext()Retrieve node text content.StringtoString()
-
-
-
Method Detail
-
text
public String text()
Retrieve node text content.- Returns:
- Text content.
-
-