de.hs_rm.cs.lecturenotes.client.core.util
Class ParagraphUtil

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.client.core.util.ParagraphUtil

public final class ParagraphUtil
extends java.lang.Object

A collection of useful methods to handle Paragraph entities.

Version:
$LastChangedRevision: 236 $
Author:
Enrico Homann

Method Summary
static void flattenedParagraphList(java.util.List<Paragraph> flattenedList, Paragraph parent)
          Will return a flattened List of Paragraph that transforms children recursively into first level children.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

flattenedParagraphList

public static void flattenedParagraphList(java.util.List<Paragraph> flattenedList,
                                          Paragraph parent)
Will return a flattened List of Paragraph that transforms children recursively into first level children.

Parameters:
flattenedList - List of Paragraph
parent - Paragraph to start with