public final class InteriorSection extends GuardedSection
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Returns the contents of the body part of the section.
|
Position |
getBodyEndPosition()
Returns a position where the body ends
|
Position |
getBodyStartPosition()
Returns a position where the body starts
|
String |
getFooter()
Returns the contents of the footer part of the guarded section.
|
String |
getHeader()
Returns the contents of the header part of the section.
|
void |
setBody(String text)
Sets the text of the body.
|
void |
setFooter(String text)
Sets the text of the footer.
|
void |
setHeader(String text)
Sets the text of the header.
|
contains, deleteSection, getCaretPosition, getEndPosition, getName, getStartPosition, getText, isValid, removeSection, setName
public void setBody(String text)
text
- the new textpublic String getBody()
public void setHeader(String text)
text
- the new textpublic String getHeader()
public void setFooter(String text)
text
- the new textpublic String getFooter()
public Position getBodyStartPosition()
public Position getBodyEndPosition()