|
||||||||||||
| 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.NamedCodePiece
|
+--org.argouml.language.java.generator.InterfaceCodePiece
This code piece represents an interface declaration.
| Constructor Summary | |
|---|---|
InterfaceCodePiece(CodePiece interfaceDef,
java.lang.String name)
Constructor. |
|
| 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. |
void |
write(java.io.BufferedReader reader,
java.io.BufferedWriter writer,
java.util.Stack parseStateStack)
Write the code this piece represents to file. |
| Methods inherited from class org.argouml.language.java.generator.NamedCodePiece |
|---|
ffCodePiece |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InterfaceCodePiece(CodePiece interfaceDef,
java.lang.String name)
interfaceDef - The code piece this interface represents.name - The name of the interface.| 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
public void write(java.io.BufferedReader reader,
java.io.BufferedWriter writer,
java.util.Stack parseStateStack)
throws java.lang.Exception
write in class NamedCodePiecereader - Read original code from this.writer - Write code to this.parseStateStack - Information with one stack frame for each
classifier that the parser has descended into.
java.lang.Exception
|
||||||||||||
| 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 |