net.sf.maia
Class Page
java.lang.Object
net.sf.maia.Page
- public class Page
- extends java.lang.Object
- Author:
- Magnus Grimsell
Constructor Summary |
Page()
|
Method Summary |
java.lang.String |
getContent()
Accessor to the content of this page. |
java.lang.String |
getName()
|
javax.jcr.Property |
getProperty(java.lang.String name)
Accessor to a given property. |
java.lang.String |
getType()
|
void |
setContent(java.lang.String content)
Sets teh content for a wiki page. |
void |
setName(java.lang.String name)
|
void |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Page
public Page()
getContent
public java.lang.String getContent()
- Accessor to the content of this page. If there are more then
one content property the primary one is returned.
- Returns:
- the content of the page
setContent
public void setContent(java.lang.String content)
- Sets teh content for a wiki page.
- Parameters:
content
- The content to set.
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getProperty
public javax.jcr.Property getProperty(java.lang.String name)
- Accessor to a given property.
- Parameters:
name
- name of the property
- Returns:
- the property
Copyright © 2005 Maia. All Rights Reserved.