public class CmsXmlContentValueLocation extends java.lang.Object implements I_CmsXmlContentValueLocation
| 构造器和说明 |
|---|
CmsXmlContentValueLocation(I_CmsXmlContentValue value)
Constructs a new XML content value location.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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_CmsXmlContentValueLocationasId 在接口中 I_CmsXmlContentValueLocationcms - the CMS contextI_CmsXmlContentValueLocation.asId(org.opencms.file.CmsObject)public java.lang.String asString(CmsObject cms)
I_CmsXmlContentValueLocationasString 在接口中 I_CmsXmlContentValueLocationcms - the CMS contextI_CmsXmlContentValueLocation.asString(org.opencms.file.CmsObject)public I_CmsXmlDocument getDocument()
I_CmsXmlContentLocationgetDocument 在接口中 I_CmsXmlContentLocationI_CmsXmlContentLocation.getDocument()public java.util.Locale getLocale()
I_CmsXmlContentLocationgetLocale 在接口中 I_CmsXmlContentLocationI_CmsXmlContentLocation.getLocale()public CmsXmlContentValueLocation getSubValue(java.lang.String subPath)
I_CmsXmlContentLocationgetSubValue 在接口中 I_CmsXmlContentLocationsubPath - the relative pathI_CmsXmlContentLocation.getSubValue(java.lang.String)public java.util.List<I_CmsXmlContentValueLocation> getSubValues(java.lang.String subPath)
I_CmsXmlContentLocationgetSubValues 在接口中 I_CmsXmlContentLocationsubPath - the relative pathI_CmsXmlContentLocation.getSubValues(java.lang.String)public I_CmsXmlContentValue getValue()
getValue 在接口中 I_CmsXmlContentValueLocation