org.opencms.xml.content
Interface I_CmsXmlContentValueLocation

All Superinterfaces:
I_CmsXmlContentLocation
All Known Implementing Classes:
CmsXmlContentValueLocation

public interface I_CmsXmlContentValueLocation
extends I_CmsXmlContentLocation

Interface representing an XML content location which corresponds to an actual content value.

Since:
8.0.0

Method Summary
 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_CmsXmlContentValue getValue()
          Returns the content value at the given location.
 
Methods inherited from interface org.opencms.xml.content.I_CmsXmlContentLocation
getDocument, getLocale, getSubValue, getSubValues
 

Method Detail

asId

CmsUUID asId(CmsObject cms)
Returns the structure id of the content value (only valid for VfsFile values!).

Parameters:
cms - the CMS context
Returns:
the structure id of the content value

asString

java.lang.String asString(CmsObject cms)
Returns the string value of the content value.

Parameters:
cms - the CMS context
Returns:
the string value of the content value

getValue

I_CmsXmlContentValue getValue()
Returns the content value at the given location.

Returns:
the content value at the given location