|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.language.java.generator.CodePiece
org.argouml.language.java.generator.CompositeCodePiece
This piece of code is a composition of several adjacent pieces of code. The code piece can have holes.
Field Summary | |
private Vector |
codePieces
The code pieces this code piece consists of. |
Constructor Summary | |
CompositeCodePiece(CodePiece codePiece)
Create a composite piece of code. |
Method Summary | |
void |
add(CodePiece codePiece)
Append a code piece to the end. |
int |
getEndLine()
Return the end line. |
int |
getEndPosition()
Return the end position. |
int |
getStartLine()
Return the start line. |
int |
getStartPosition()
Return the start position. |
StringBuffer |
getText()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Vector codePieces
Constructor Detail |
public CompositeCodePiece(CodePiece codePiece)
codePiece
- A starter code piece.Method Detail |
public void add(CodePiece codePiece)
codePiece
- the given codepiecepublic StringBuffer getText()
getText
in class CodePiece
public int getStartPosition()
getStartPosition
in class CodePiece
CodePiece.getStartPosition()
public int getEndPosition()
getEndPosition
in class CodePiece
CodePiece.getEndPosition()
public int getStartLine()
getStartLine
in class CodePiece
CodePiece.getStartLine()
public int getEndLine()
getEndLine
in class CodePiece
CodePiece.getEndLine()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |