|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sourceflow.CodeElement
org.sourceflow.CodeContainer
The abstract base class for all code element containers. The code element containers contains other code elements.
| Constructor Summary | |
protected |
CodeContainer()
Creates a new code element container. |
| Method Summary | |
protected void |
addElement(CodeElement elem)
Adds a code element to this container. |
protected void |
printContents(java.io.PrintWriter out,
CodeStyle style,
int indent)
Prints all the contained code elements to the specified output stream. |
protected int |
size()
Returns the number of content elements in this container. |
| Methods inherited from class org.sourceflow.CodeElement |
category, compareTo, print, printSeparator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CodeContainer()
| Method Detail |
protected int size()
protected void addElement(CodeElement elem)
elem - the code element to add
protected void printContents(java.io.PrintWriter out,
CodeStyle style,
int indent)
out - the output streamstyle - the code style to useindent - the indentation level
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||