uk.ac.man.documentparser.dataholders
Class Section

java.lang.Object
  extended by uk.ac.man.documentparser.dataholders.Section
All Implemented Interfaces:
java.io.Serializable

public class Section
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.String content
           
private static long serialVersionUID
           
private  Section[] subSections
           
private  java.lang.String title
           
 
Constructor Summary
Section(java.lang.String title, java.lang.String content, Section[] subSections)
           
 
Method Summary
 java.lang.String getContent()
           
 java.lang.String getContentsRecursive()
           
 int getLength()
           
 Section[] getSubSections()
           
 java.lang.String getTitle()
           
 java.lang.String toHTML(int level)
           
 java.lang.String toString()
           
static java.lang.String toString(Section[] sections)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

title

private java.lang.String title

content

private java.lang.String content

subSections

private Section[] subSections
Constructor Detail

Section

public Section(java.lang.String title,
               java.lang.String content,
               Section[] subSections)
Method Detail

toString

public static java.lang.String toString(Section[] sections)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toHTML

public java.lang.String toHTML(int level)

getLength

public int getLength()

getTitle

public java.lang.String getTitle()

getContent

public java.lang.String getContent()

getSubSections

public Section[] getSubSections()

getContentsRecursive

public java.lang.String getContentsRecursive()