com.springsource.util.parser.manifest
Class ManifestProblem
java.lang.Object
com.springsource.util.parser.manifest.ManifestProblem
public class ManifestProblem
- extends java.lang.Object
Encapsulates a problem discovered during manifest parsing.
Concurrent Semantics
This class is thread safe.
- Author:
- Andy Clement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
problemKind
private ManifestProblemKind problemKind
context
private SourceContext context
startoffset
private int startoffset
endoffset
private int endoffset
inserts
private java.lang.String[] inserts
ManifestProblem
public ManifestProblem(ManifestProblemKind problem,
SourceContext context,
int startoffset,
int endoffset,
java.lang.String... inserts)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toStringWithContext
public java.lang.String toStringWithContext()
- Returns a multi line message that includes the manifest extract that gave
rise to the problem.
- Returns:
- a multi line string
getKind
public ManifestProblemKind getKind()
getInsertCount
public int getInsertCount()
getInsert
public java.lang.String getInsert(int insertIndex)
getStartLine
public int getStartLine()
getEndLine
public int getEndLine()
getStartColumn
public int getStartColumn()
getEndColumn
public int getEndColumn()
getStartOffset
public int getStartOffset()
getEndOffset
public int getEndOffset()