org.chromattic.docs.reference.gettingstarted
Class Page

java.lang.Object
  extended by org.chromattic.docs.reference.gettingstarted.Page

public abstract class Page
extends java.lang.Object

The page of a site.


Constructor Summary
Page()
           
 
Method Summary
abstract  java.lang.String getContent()
          Returns the page content.
abstract  java.lang.String getName()
          Returns the page name.
abstract  java.lang.String getTitle()
          Returns the page title.
abstract  void setContent(java.lang.String content)
          Updates the page content.
abstract  void setTitle(java.lang.String title)
          Updates the page title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page()
Method Detail

getName

public abstract java.lang.String getName()
Returns the page name.

Returns:
the page name

getTitle

public abstract java.lang.String getTitle()
Returns the page title.

Returns:
the page title

setTitle

public abstract void setTitle(java.lang.String title)
Updates the page title.

Parameters:
title - the new page title

getContent

public abstract java.lang.String getContent()
Returns the page content.

Returns:
the page content

setContent

public abstract void setContent(java.lang.String content)
Updates the page content.

Parameters:
content - the new page content


Copyright © 2011 eXo Platform SAS. All Rights Reserved.