de.java2html.javasource
Class SourceParseObject
java.lang.Object
de.java2html.javasource.SourceParseObject
public class SourceParseObject
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceParseObject
public SourceParseObject(java.lang.String sourceCode)
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