Class JcabiXmlNode
- java.lang.Object
-
- org.eolang.jeo.representation.xmir.JcabiXmlNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
attribute(String name)
Get attribute.XmlNode
child(String name)
Get child node.Stream<XmlNode>
children()
Get all child nodes.String
text()
Retrieve node text content.void
validate()
Validate the node.List<String>
xpath(String xpath)
Find elements by xpath.
-
-
-
Method Detail
-
children
public Stream<XmlNode> children()
Description copied from interface:XmlNode
Get all child nodes.
-
attribute
public Optional<String> attribute(String name)
Description copied from interface:XmlNode
Get attribute.
-
xpath
public List<String> xpath(String xpath)
Description copied from interface:XmlNode
Find elements by xpath.
-
-