|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.cms.model.Page
@Entity public class Page
represents a Page of a CMSContent.
A Page is an entity encapsulating an XML document which represents
one page of an article. The article itself is represented by a
CMSContent.
| Constructor Summary | |
|---|---|
Page()
creates a new empty Page. |
|
| Method Summary | |
|---|---|
org.jdom.Element |
deserializeToJDOM()
this will deserialize the state of the JDOMable as a JDOM
Element. |
org.jdom.Element |
getContents()
returns the content of the Page as an Element. |
java.lang.String |
getContentString()
returns a string-representation of the pages content. |
void |
setContents(org.jdom.Element content)
sets a new content for the Page. |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Page()
Page.
| Method Detail |
|---|
public final org.jdom.Element getContents()
throws org.jdom.JDOMException,
java.io.IOException
Page as an Element.
Page as an Element
org.jdom.JDOMException - on errors parsing the content of the Page
java.io.IOException - on errors reading the content of the Pagepublic final java.lang.String getContentString()
public final void setContents(org.jdom.Element content)
Page.
content - the content to be setpublic org.jdom.Element deserializeToJDOM()
JDOMableJDOMable as a JDOM
Element.
deserializeToJDOM in interface JDOMablePage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||