public interface XSDDiagnostic extends XSDConcreteComponent, Resource.Diagnostic
XSDPackage.getXSDDiagnostic()
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MARKER
This is the ID used for Eclipse markers that are based on diagnostics.
|
static java.lang.String |
URI_FRAGMENT_ATTRIBUTE
This is the string for encoding a
URI fragment for a diagnostic. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotationURI()
Returns the value of the 'Annotation URI' attribute.
|
int |
getColumn()
Returns the value of the 'Column' attribute.
|
EList<XSDConcreteComponent> |
getComponents()
Returns the value of the 'Components' reference list.
|
java.lang.String |
getKey()
Returns the value of the 'Key' attribute.
|
int |
getLine()
Returns the value of the 'Line' attribute.
|
java.lang.String |
getLocationURI()
Returns the value of the 'Location URI' attribute.
|
java.lang.String |
getMessage()
Returns the value of the 'Message' attribute.
|
org.w3c.dom.Node |
getNode()
Returns the value of the 'Node' attribute.
|
XSDConcreteComponent |
getPrimaryComponent()
Returns the value of the 'Primary Component' reference.
|
XSDDiagnosticSeverity |
getSeverity()
Returns the value of the 'Severity' attribute.
|
EList<java.lang.String> |
getSubstitutions()
Returns the value of the 'Substitutions' attribute list.
|
void |
setAnnotationURI(java.lang.String value)
Sets the value of the '
Annotation URI ' attribute. |
void |
setColumn(int value)
Sets the value of the '
Column ' attribute. |
void |
setKey(java.lang.String value)
Sets the value of the '
Key ' attribute. |
void |
setLine(int value)
Sets the value of the '
Line ' attribute. |
void |
setLocationURI(java.lang.String value)
Sets the value of the '
Location URI ' attribute. |
void |
setMessage(java.lang.String value)
Sets the value of the '
Message ' attribute. |
void |
setNode(org.w3c.dom.Node value)
Sets the value of the '
Node ' attribute. |
void |
setPrimaryComponent(XSDConcreteComponent value)
Sets the value of the '
Primary Component ' reference. |
void |
setSeverity(XSDDiagnosticSeverity value)
Sets the value of the '
Severity ' attribute. |
clearDiagnostics, cloneConcreteComponent, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement, validate
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getLocation
static final java.lang.String MARKER
static final java.lang.String URI_FRAGMENT_ATTRIBUTE
URI fragment
for a diagnostic.XSDDiagnosticSeverity getSeverity()
XSDDiagnosticSeverity
.
This indicates the how bad the problem is.
XSDDiagnosticSeverity
,
setSeverity(XSDDiagnosticSeverity)
,
XSDPackage.getXSDDiagnostic_Severity()
void setSeverity(XSDDiagnosticSeverity value)
Severity
' attribute.
value
- the new value of the 'Severity' attribute.XSDDiagnosticSeverity
,
getSeverity()
java.lang.String getMessage()
This describes the problem.
getMessage
in interface Resource.Diagnostic
setMessage(String)
,
XSDPackage.getXSDDiagnostic_Message()
void setMessage(java.lang.String value)
Message
' attribute.
value
- the new value of the 'Message' attribute.getMessage()
java.lang.String getLocationURI()
This indicates the URI of the resource containing the problem.
setLocationURI(String)
,
XSDPackage.getXSDDiagnostic_LocationURI()
void setLocationURI(java.lang.String value)
Location URI
' attribute.
value
- the new value of the 'Location URI' attribute.getLocationURI()
int getLine()
"1"
.
This indicates the line number within the resource containing the problem.
getLine
in interface Resource.Diagnostic
setLine(int)
,
XSDPackage.getXSDDiagnostic_Line()
void setLine(int value)
Line
' attribute.
value
- the new value of the 'Line' attribute.getLine()
int getColumn()
"1"
.
This indicates the column number within the line of the resource containing the problem.
getColumn
in interface Resource.Diagnostic
setColumn(int)
,
XSDPackage.getXSDDiagnostic_Column()
void setColumn(int value)
Column
' attribute.
value
- the new value of the 'Column' attribute.getColumn()
org.w3c.dom.Node getNode()
This indicates the DOM node at which the problem occurs.
setNode(Node)
,
XSDPackage.getXSDDiagnostic_Node()
void setNode(org.w3c.dom.Node value)
Node
' attribute.
value
- the new value of the 'Node' attribute.getNode()
java.lang.String getAnnotationURI()
This provides a URI that can be used to locate more detailed documentation of the general type of problem encountered.
setAnnotationURI(String)
,
XSDPackage.getXSDDiagnostic_AnnotationURI()
void setAnnotationURI(java.lang.String value)
Annotation URI
' attribute.
value
- the new value of the 'Annotation URI' attribute.getAnnotationURI()
java.lang.String getKey()
This represents a unique key used to load the message.
setKey(String)
,
XSDPackage.getXSDDiagnostic_Key()
void setKey(java.lang.String value)
Key
' attribute.
value
- the new value of the 'Key' attribute.getKey()
EList<java.lang.String> getSubstitutions()
String
.
This represents the substitutions within the message.
XSDPackage.getXSDDiagnostic_Substitutions()
EList<XSDConcreteComponent> getComponents()
XSDConcreteComponent
.
This represents the components associated with the problem;
the first component is al the primary
component.
XSDPackage.getXSDDiagnostic_Components()
XSDConcreteComponent getPrimaryComponent()
This represents the component most directly associated with the problem.
setPrimaryComponent(XSDConcreteComponent)
,
XSDPackage.getXSDDiagnostic_PrimaryComponent()
void setPrimaryComponent(XSDConcreteComponent value)
Primary Component
' reference.
value
- the new value of the 'Primary Component' reference.getPrimaryComponent()