|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Description:
A section represents a block of source code in the CodeWriter.
| Field Summary | |
static java.lang.String |
DEFAULT_NAME
|
static java.lang.String |
MN_append
|
static java.lang.String |
MN_prepend
|
static java.lang.String |
NAME_body
|
static java.lang.String |
NAME_declare
|
static java.lang.String |
NAME_documentation
|
static java.lang.String |
NAME_init
|
| Method Summary | |
void |
append(java.lang.String pContent)
Append content to a section. |
void |
clear()
Clear section content. |
boolean |
equals(java.lang.Object pObject)
Test for equality |
java.lang.String |
getContent()
Get section content. |
java.lang.String |
getName()
Get name of section. |
boolean |
isEmpty()
True if Section content is empty String. |
void |
prepend(java.lang.String pContent)
prepend content to a section. |
void |
setContent(java.lang.String pContent)
Set content of section. |
| Field Detail |
public static final java.lang.String DEFAULT_NAME
public static final java.lang.String NAME_init
public static final java.lang.String NAME_body
public static final java.lang.String NAME_declare
public static final java.lang.String NAME_documentation
public static final java.lang.String MN_append
public static final java.lang.String MN_prepend
| Method Detail |
public void prepend(java.lang.String pContent)
pContent - content to prepend (if null, then "")public void append(java.lang.String pContent)
pContent - content to append (if null, then "")public void clear()
public java.lang.String getContent()
public void setContent(java.lang.String pContent)
pContent - full content (if null, then "")public java.lang.String getName()
public boolean isEmpty()
public boolean equals(java.lang.Object pObject)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||