de.java2html.javasource
Class SourceRun

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

public class SourceRun
extends java.lang.Object

A connected piece of Java source code having the same type (SourceType). SourceRun objects are created by TypedSourceIterator provided from a TypedSource object.


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

Constructor Detail

SourceRun

public SourceRun(TypedSource javaSource,
                 int startIndex,
                 int endIndex)
Method Detail

getEndIndex

public int getEndIndex()

isAtEndOfLine

public boolean isAtEndOfLine()

isAtStartOfLine

public boolean isAtStartOfLine()

getJavaSource

public TypedSource getJavaSource()

getStartIndex

public int getStartIndex()

getType

public SourceType getType()

getCode

public java.lang.String getCode()

dump

public void dump()


Copyright © 2003 - 2006