Package org.opencms.xml.content
Interface I_CmsXmlContentLocation
- All Known Subinterfaces:
I_CmsXmlContentValueLocation
- All Known Implementing Classes:
CmsXmlContentRootLocation
,CmsXmlContentValueLocation
public interface I_CmsXmlContentLocation
This class represents a location in an XML content for a specific locale.
It is used for conveniently retrieving configuration values from an XML content without manually concatenating xpath strings.
- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the XML document.Returns the locale.getSubValue
(String subPath) Returns the location for an xpath relative to the current location.getSubValues
(String subPath) Returns the locations for an xpath relative to the current location.
-
Method Details
-
getDocument
Returns the XML document.- Returns:
- the XML document
-
getLocale
Returns the locale.- Returns:
- the locale
-
getSubValue
Returns the location for an xpath relative to the current location.- Parameters:
subPath
- the relative path- Returns:
- the location which the relative path points to
-
getSubValues
Returns the locations for an xpath relative to the current location.- Parameters:
subPath
- the relative path- Returns:
- the locations which the relative path points to
-