|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.core.parser.ast.Problem
public final class Problem
Represent a compilation problem on a JET2 tempalte.
This class is not intended to be extended by clients
Constructor Summary | |
---|---|
Problem(java.net.URI baseLocation,
java.lang.String templatePath,
ProblemSeverity severity,
int id,
java.lang.String message,
java.lang.Object[] messageArgs,
int start,
int end,
int lineNumber,
int colOffset)
Create an new instance |
Method Summary | |
---|---|
int |
getColOffset()
|
int |
getEnd()
|
int |
getId()
|
int |
getLineNumber()
|
java.lang.String |
getMessage()
|
java.lang.Object[] |
getMessageArgs()
|
java.lang.String |
getOriginatingFileName()
|
ProblemSeverity |
getProblemSeverity()
Return the problem severity |
int |
getStart()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MissingXmlStartTag
IProblem.MissingXmlStartTag
getId()
,
Constant Field Valuespublic static final int MissingXmlEndTag
IProblem.MissingXmlEndTag
getId()
,
Constant Field Valuespublic static final int MissingRequiredAttribute
IProblem.MissingRequiredAttribute
getId()
,
Constant Field Valuespublic static final int DuplicateXMLNamespacePrefix
IProblem.DuplicateXMLNamespacePrefix
getId()
,
Constant Field Valuespublic static final int UnknownTagLibrary
IProblem.UnknownTagLibrary
getId()
,
Constant Field Valuespublic static final int UnknownAttributeInTag
IProblem.UnknownAttributeInTag
public static final int UnterminatedXMLTag
IProblem.UnterminatedXMLTag
public static final int DuplicateAttribute
IProblem.DuplicateAttribute
public static final int JETException
IProblem.JETException
public static final int MultipleTemplatesWithSameJavaClass
IProblem.MultipleTemplatesWithSameJavaClass
public static final int DeprecatedAttribute
IProblem.DeprecatedAttribute
public static final int TagCannotHaveContent
IProblem.TagCannotHaveContent
public static final int TagCannotBeEmpty
IProblem.TagCannotBeEmpty
public static final int DeprecatedTag
IProblem.DeprecatedTag
public static final int UnsupportedDirective
IProblem.UnsupportedDirective
public static final int UnknownXMLTag
IProblem.UnknownXMLTag
public static final int TagInterpretedAsEmptyTag
IProblem.TagInterpretedAsEmptyTag
Constructor Detail |
---|
public Problem(java.net.URI baseLocation, java.lang.String templatePath, ProblemSeverity severity, int id, java.lang.String message, java.lang.Object[] messageArgs, int start, int end, int lineNumber, int colOffset)
baseLocation
- the base location from which the template path is resolved.templatePath
- the file name from which the problem originatesseverity
- the problem severityid
- the problem id. See static constants declared on this classmessage
- the error message in MessageFormat
stylemessageArgs
- the error message argumentsstart
- the start offset of the problem (doc relative)end
- the end offset of the problem (doc relative)lineNumber
- the start line of the problemcolOffset
- the column position (one based) of the problem startMethod Detail |
---|
public int getEnd()
public int getId()
public int getLineNumber()
public java.lang.String getMessage()
public java.lang.Object[] getMessageArgs()
public java.lang.String getOriginatingFileName()
public int getStart()
public final int getColOffset()
public ProblemSeverity getProblemSeverity()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |