|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--org.argouml.language.java.generator.CodePiece
|
+--org.argouml.language.java.generator.SimpleCodePiece
This piece of code is just one token.
| Constructor Summary | |
|---|---|
SimpleCodePiece(antlr.Token token)
Create a simple piece of code from a token. |
|
SimpleCodePiece(java.lang.StringBuffer text,
int line,
int startPosition,
int endPosition)
Create a simple piece of code. |
|
| Method Summary | |
|---|---|
int |
getEndLine()
Return the end line |
int |
getEndPosition()
Return the end position. |
int |
getStartLine()
Return the start line |
int |
getStartPosition()
Return the start position. |
java.lang.StringBuffer |
getText()
Return the string representation for this piece of code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleCodePiece(java.lang.StringBuffer text,
int line,
int startPosition,
int endPosition)
public SimpleCodePiece(antlr.Token token)
| Method Detail |
public java.lang.StringBuffer getText()
getText in class CodePiecepublic int getStartPosition()
getStartPosition in class CodePiecepublic int getEndPosition()
getEndPosition in class CodePiecepublic int getStartLine()
getStartLine in class CodePiecepublic int getEndLine()
getEndLine in class CodePiece
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |