public class CmsXmlContentValueLocation extends java.lang.Object implements I_CmsXmlContentValueLocation
Constructor and Description |
---|
CmsXmlContentValueLocation(I_CmsXmlContentValue value)
Constructs a new XML content value location.
|
Modifier and Type | Method and Description |
---|---|
CmsUUID |
asId(CmsObject cms)
Returns the structure id of the content value (only valid for VfsFile values!).
|
java.lang.String |
asString(CmsObject cms)
Returns the string value of the content value.
|
I_CmsXmlDocument |
getDocument()
Returns the XML document.
|
java.util.Locale |
getLocale()
Returns the locale.
|
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.
|
I_CmsXmlContentValue |
getValue()
Returns the content value at the given location.
|
public CmsXmlContentValueLocation(I_CmsXmlContentValue value)
value
- the XML content valuepublic CmsUUID asId(CmsObject cms)
I_CmsXmlContentValueLocation
asId
in interface I_CmsXmlContentValueLocation
cms
- the CMS contextI_CmsXmlContentValueLocation.asId(org.opencms.file.CmsObject)
public java.lang.String asString(CmsObject cms)
I_CmsXmlContentValueLocation
asString
in interface I_CmsXmlContentValueLocation
cms
- the CMS contextI_CmsXmlContentValueLocation.asString(org.opencms.file.CmsObject)
public 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 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)
public I_CmsXmlContentValue getValue()
getValue
in interface I_CmsXmlContentValueLocation