org.exoplatform.wiki.mow.api.content
Interface ContentItem

All Known Subinterfaces:
Annotation, Link, Markup, Paragraph
All Known Implementing Classes:
AbstractContainerContent, AbstractContentItem, AnnotationImpl, MarkupImpl, ParagraphImpl, WikiLink

public interface ContentItem

Represents a bit of the content of a page such as a paragraph, a text, a link...

Version:
$Revision$
Author:
Patrice Lamarque

Method Summary
 List<?> getChildren()
          Get the child items
 String getId()
          Get the unique identifier for the content
 String getText()
          Get the text representation of the content item
 void setText(String text)
           
 

Method Detail

getId

String getId()
Get the unique identifier for the content

Returns:

getChildren

List<?> getChildren()
Get the child items

Returns:

getText

String getText()
Get the text representation of the content item

Returns:

setText

void setText(String text)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.