de.java2html.javasource
Class SourceRun
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceRun
public SourceRun(TypedSource javaSource,
int startIndex,
int endIndex)
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