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_CmsXmlContentLocationgetDocument in interface I_CmsXmlContentLocationI_CmsXmlContentLocation.getDocument()public java.util.Locale getLocale()
I_CmsXmlContentLocationgetLocale in interface I_CmsXmlContentLocationI_CmsXmlContentLocation.getLocale()public I_CmsXmlContentValueLocation getSubValue(java.lang.String subPath)
I_CmsXmlContentLocationgetSubValue in interface I_CmsXmlContentLocationsubPath - the relative pathI_CmsXmlContentLocation.getSubValue(java.lang.String)public java.util.List<I_CmsXmlContentValueLocation> getSubValues(java.lang.String subPath)
I_CmsXmlContentLocationgetSubValues in interface I_CmsXmlContentLocationsubPath - the relative pathI_CmsXmlContentLocation.getSubValues(java.lang.String)