|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.compiler.Problem
public class Problem
Represent a compilation problem on a JET2 tempalte.
Field Summary | |
---|---|
static int |
DeprecatedAttribute
Use of an attribute that has been deprecated. |
static int |
DeprecatedTag
Use of the tag has been deprecated. |
static int |
DuplicateAttribute
Represent a duplicate attribute in an XML Tag; |
static int |
DuplicateXMLNamespacePrefix
Error Id for taglib directive that defines a prefix defined by a preceding taglib directive |
static int |
JETException
An underlying JETException was thrown by the JET parser |
static int |
MissingRequiredAttribute
Error Id for an XML tag or JET directive that is missing a required attribute |
static int |
MissingXmlEndTag
Error Id for an XML start tag that has no corresponding end tag. |
static int |
MissingXmlStartTag
Error Id for an XML end tag that has no corresponding start tag. |
static int |
MultipleTemplatesWithSameJavaClass
Two templates specify that they compile to the same Java Class |
static int |
TagCannotBeEmpty
Tag must have content - the tag must be of the form <tagName>xxx</tagName>. |
static int |
TagCannotHaveContent
Tag may not have a body - the tag must be of the form <tagName/>. |
static int |
TagInterpretedAsEmptyTag
A tag this is declared as an 'emptyTag' occured as <tag ... |
static int |
UnknownAttributeInTag
Error Id for an attribute that is not defined in the tag definition |
static int |
UnknownTagLibrary
Error Id for taglib directive that defines references an unknown tag library id |
static int |
UnknownXMLTag
A tag that has a known tag library prefix, but is not a recognized name. |
static int |
UnsupportedDirective
Unsupported Directive. |
static int |
UnterminatedXMLTag
Represent an unterminated XML Tag |
Constructor Summary | |
---|---|
Problem(java.lang.String originatingFileName,
org.eclipse.jet.internal.parser.ParseProblemSeverity 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()
|
org.eclipse.jet.internal.parser.ParseProblemSeverity |
getSeverity()
|
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
getId()
,
Constant Field Valuespublic static final int MissingXmlEndTag
getId()
,
Constant Field Valuespublic static final int MissingRequiredAttribute
getId()
,
Constant Field Valuespublic static final int DuplicateXMLNamespacePrefix
getId()
,
Constant Field Valuespublic static final int UnknownTagLibrary
getId()
,
Constant Field Valuespublic static final int UnknownAttributeInTag
public static final int UnterminatedXMLTag
public static final int DuplicateAttribute
public static final int JETException
public static final int MultipleTemplatesWithSameJavaClass
public static final int DeprecatedAttribute
public static final int TagCannotHaveContent
public static final int TagCannotBeEmpty
public static final int DeprecatedTag
public static final int UnsupportedDirective
public static final int UnknownXMLTag
public static final int TagInterpretedAsEmptyTag
Constructor Detail |
---|
public Problem(java.lang.String originatingFileName, org.eclipse.jet.internal.parser.ParseProblemSeverity severity, int id, java.lang.String message, java.lang.Object[] messageArgs, int start, int end, int lineNumber, int colOffset)
originatingFileName
- the file name from which the problem originatesseverity
- the 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
- TODOMethod 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 org.eclipse.jet.internal.parser.ParseProblemSeverity getSeverity()
public int getStart()
public final int getColOffset()
|
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 |