public class CmsXmlContentRootLocation extends java.lang.Object implements I_CmsXmlContentLocation
Constructor and Description |
---|
CmsXmlContentRootLocation(I_CmsXmlDocument doc,
java.util.Locale locale)
Creates a new root location for a given locale.
|
Modifier and Type | Method and Description |
---|---|
I_CmsXmlDocument |
getDocument()
Returns the XML document.
|
java.util.Locale |
getLocale()
Returns the locale.
|
I_CmsXmlContentValueLocation |
getSubValue(java.lang.String subPath)
Returns the location for an xpath relative to the current location.
|
java.util.List<I_CmsXmlContentValueLocation> |
getSubValues(java.lang.String subPath)
Returns the locations for an xpath relative to the current location.
|
public CmsXmlContentRootLocation(I_CmsXmlDocument doc, java.util.Locale locale)
doc
- the XML documentlocale
- the localepublic I_CmsXmlDocument getDocument()
I_CmsXmlContentLocation
getDocument
in interface I_CmsXmlContentLocation
I_CmsXmlContentLocation.getDocument()
public java.util.Locale getLocale()
I_CmsXmlContentLocation
getLocale
in interface I_CmsXmlContentLocation
I_CmsXmlContentLocation.getLocale()
public I_CmsXmlContentValueLocation getSubValue(java.lang.String subPath)
I_CmsXmlContentLocation
getSubValue
in interface I_CmsXmlContentLocation
subPath
- the relative pathI_CmsXmlContentLocation.getSubValue(java.lang.String)
public java.util.List<I_CmsXmlContentValueLocation> getSubValues(java.lang.String subPath)
I_CmsXmlContentLocation
getSubValues
in interface I_CmsXmlContentLocation
subPath
- the relative pathI_CmsXmlContentLocation.getSubValues(java.lang.String)