de.java2html.javasource
Class SourceParseObject

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

public class SourceParseObject
extends java.lang.Object


Constructor Summary
SourceParseObject(java.lang.String sourceCode)
           
 
Method Summary
 boolean checkRegion(int start, int end, ISourceTypeChecker checker)
           
 TypedSource createTypedSource()
           
 int getCharacterCount()
           
 char getSourceCharAt(int index)
           
 java.lang.String getSourceCode()
           
 SourceType getSourceType(int index)
           
 SourceType[] getSourceTypes()
           
 JavaSourceStatistic getStatistics()
           
 boolean hasTypeOrEmpty(int startIndex, int endIndex, SourceType javaSourceType)
           
 void setType(int startIndex, int endIndexPlusOne, SourceType sourceType)
          Marks the specified region int the source code to the given type.
 void setType(int index, SourceType sourceType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceParseObject

public SourceParseObject(java.lang.String sourceCode)
Method Detail

createTypedSource

public TypedSource createTypedSource()

getSourceCode

public java.lang.String getSourceCode()

getStatistics

public JavaSourceStatistic getStatistics()

getSourceTypes

public SourceType[] getSourceTypes()

getCharacterCount

public int getCharacterCount()

getSourceType

public SourceType getSourceType(int index)

setType

public void setType(int index,
                    SourceType sourceType)

getSourceCharAt

public char getSourceCharAt(int index)

hasTypeOrEmpty

public boolean hasTypeOrEmpty(int startIndex,
                              int endIndex,
                              SourceType javaSourceType)

checkRegion

public boolean checkRegion(int start,
                           int end,
                           ISourceTypeChecker checker)

setType

public void setType(int startIndex,
                    int endIndexPlusOne,
                    SourceType sourceType)
Marks the specified region int the source code to the given type.



Copyright © 2003 - 2006