Interface ContentItem
-
- All Known Subinterfaces:
Annotation,Link,Markup,Paragraph
public interface ContentItemRepresents a bit of the content of a page such as a paragraph, a text, a link...- Version:
- $Revision$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<?>getChildren()Get the child itemsStringgetId()Get the unique identifier for the contentStringgetText()Get the text representation of the content itemvoidsetText(String text)
-
-
-
Method Detail
-
getId
String getId()
Get the unique identifier for the content- Returns:
- contentId
-
getChildren
List<?> getChildren()
Get the child items- Returns:
- List of children
-
getText
String getText()
Get the text representation of the content item- Returns:
- the content text
-
setText
void setText(String text)
-
-