org.argouml.language.java.generator
Class CodePiece

java.lang.Object
  extended byorg.argouml.language.java.generator.CodePiece
Direct Known Subclasses:
CompositeCodePiece, NamedCodePiece, SimpleCodePiece

public abstract class CodePiece
extends java.lang.Object

A piece of code is a continuous part of a source code file. The code piece is going to be replaced by a string generated from the UML model.


Constructor Summary
CodePiece()
           
 
Method Summary
abstract  int getEndLine()
          Return the end line
abstract  int getEndPosition()
          Return the end position.
abstract  int getStartLine()
          Return the start line
abstract  int getStartPosition()
          Return the start position.
abstract  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

CodePiece

public CodePiece()
Method Detail

getText

public abstract java.lang.StringBuffer getText()
Return the string representation for this piece of code.


getStartPosition

public abstract int getStartPosition()
Return the start position.


getEndPosition

public abstract int getEndPosition()
Return the end position.


getStartLine

public abstract int getStartLine()
Return the start line


getEndLine

public abstract int getEndLine()
Return the end line



ArgoUML © 1996-2004 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook