|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.xml.content.CmsXmlContentValueLocation
public class CmsXmlContentValueLocation
Represents the concrete location of an XML content value.
Constructor Summary | |
---|---|
CmsXmlContentValueLocation(I_CmsXmlContentValue value)
Constructs a new XML content value location. |
Method Summary | |
---|---|
CmsUUID |
asId(CmsObject cms)
Returns the structure id of the content value (only valid for VfsFile values!). |
String |
asString(CmsObject cms)
Returns the string value of the content value. |
I_CmsXmlDocument |
getDocument()
Returns the XML document. |
Locale |
getLocale()
Returns the locale. |
CmsXmlContentValueLocation |
getSubValue(String subPath)
Returns the location for an xpath relative to the current location. |
List<I_CmsXmlContentValueLocation> |
getSubValues(String subPath)
Returns the locations for an xpath relative to the current location. |
I_CmsXmlContentValue |
getValue()
Returns the content value at the given location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsXmlContentValueLocation(I_CmsXmlContentValue value)
value
- the XML content valueMethod Detail |
---|
public CmsUUID asId(CmsObject cms)
I_CmsXmlContentValueLocation
asId
in interface I_CmsXmlContentValueLocation
cms
- the CMS context
I_CmsXmlContentValueLocation.asId(org.opencms.file.CmsObject)
public String asString(CmsObject cms)
I_CmsXmlContentValueLocation
asString
in interface I_CmsXmlContentValueLocation
cms
- the CMS context
I_CmsXmlContentValueLocation.asString(org.opencms.file.CmsObject)
public I_CmsXmlDocument getDocument()
I_CmsXmlContentLocation
getDocument
in interface I_CmsXmlContentLocation
I_CmsXmlContentLocation.getDocument()
public Locale getLocale()
I_CmsXmlContentLocation
getLocale
in interface I_CmsXmlContentLocation
I_CmsXmlContentLocation.getLocale()
public CmsXmlContentValueLocation getSubValue(String subPath)
I_CmsXmlContentLocation
getSubValue
in interface I_CmsXmlContentLocation
subPath
- the relative path
I_CmsXmlContentLocation.getSubValue(java.lang.String)
public List<I_CmsXmlContentValueLocation> getSubValues(String subPath)
I_CmsXmlContentLocation
getSubValues
in interface I_CmsXmlContentLocation
subPath
- the relative path
I_CmsXmlContentLocation.getSubValues(java.lang.String)
public I_CmsXmlContentValue getValue()
getValue
in interface I_CmsXmlContentValueLocation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |