de.java2html.javasource
Class JavaSourceRun

java.lang.Object
  extended by de.java2html.javasource.JavaSourceRun

public class JavaSourceRun
extends java.lang.Object

A connected piece of Java source code having the same type (JavaSourceType). JavaSourceRun objects are created by JavaSourceIterator provided from a JavaSource object.


Constructor Summary
JavaSourceRun(JavaSource javaSource, int startIndex, int endIndex)
           
 
Method Summary
 void dump()
           
 java.lang.String getCode()
           
 int getEndIndex()
           
 JavaSource getJavaSource()
           
 int getStartIndex()
           
 JavaSourceType getType()
           
 boolean isAtEndOfLine()
           
 boolean isAtStartOfLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSourceRun

public JavaSourceRun(JavaSource javaSource,
                     int startIndex,
                     int endIndex)
Method Detail

getEndIndex

public int getEndIndex()

isAtEndOfLine

public boolean isAtEndOfLine()

isAtStartOfLine

public boolean isAtStartOfLine()

getJavaSource

public JavaSource getJavaSource()

getStartIndex

public int getStartIndex()

getType

public JavaSourceType getType()

getCode

public java.lang.String getCode()

dump

public void dump()