|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.rest.client.DataElement
public class DataElement
JCMS OpenAPI provides many times JCMS data in XML as exported with the JCMS import/export form. This class provides a usefull way to get the informations in the wrapped JCMS data XML element.
Constructor Summary | |
---|---|
DataElement(org.jdom.Element element,
ClientSession session)
|
Method Summary | |
---|---|
org.jdom.Element |
getAbstractField()
The JDOM element corresponding to the abstract of the JCMS data represented by the wrapped element. |
String |
getAbstractMLName()
|
Date |
getCdate()
|
org.jdom.Element |
getElement()
|
org.jdom.Element |
getField(String name)
|
String |
getId()
Gives the id of the JCMS data represented by the wrapped element. |
String |
getMainLanguage()
Gives the main language of the JCMS data represented by the wrapped element. |
Date |
getMdate()
|
org.jdom.Element |
getMLField(org.jdom.Element field)
|
Date |
getPdate()
|
String |
getTitle()
|
String |
getUrl()
Gives the url of the JCMS data represented by the wrapped element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataElement(org.jdom.Element element, ClientSession session)
Method Detail |
---|
public String getId()
public String getUrl()
public String getMainLanguage()
public String getTitle()
public org.jdom.Element getAbstractField()
public String getAbstractMLName()
public org.jdom.Element getField(String name)
name
-
public org.jdom.Element getMLField(org.jdom.Element field)
field
- the element corresponding to a field in the main language of the data
public Date getPdate()
public Date getCdate()
public Date getMdate()
public org.jdom.Element getElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |