public interface Node
Modifier and Type | Method and Description |
---|---|
int |
getChildCount(String relativeLocationPath)
Returns the number of children of this node that satisfy the given XPath.
|
org.gesis.commons.xml.LocationInfo |
getLocationInfo()
The location of this node in the document.
|
String |
getLocationPath()
The XPath of this node in the document.
|
String |
getTextContent()
The text content of this node and its descendants.
|
String getLocationPath()
String getTextContent()
org.gesis.commons.xml.LocationInfo getLocationInfo()
int getChildCount(String relativeLocationPath)
The XPath is resolved relative to this node. For example, a node at
/node
and a relative location path of ./child
would
be resolved to /node/child
.
Copyright © 2025 CESSDA ERIC. All rights reserved.