public class DotHtmlLabelJavaValidator extends AbstractDotHtmlLabelJavaValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccessorg.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegateCURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES| Constructor and Description |
|---|
DotHtmlLabelJavaValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAttributeNameIsValid(org.eclipse.gef.dot.internal.language.htmllabel.HtmlAttr attr)
Checks if the given
HtmlAttr is valid w.r.t. its tag (only
certain attributes are supported by the individual tags). |
void |
checkAttributeValueIsValid(org.eclipse.gef.dot.internal.language.htmllabel.HtmlAttr attr)
Checks if the value of a given
HtmlAttr is valid. |
void |
checkHtmlLabelPartsAreValidSiblings(org.eclipse.gef.dot.internal.language.htmllabel.HtmlLabel label)
Checks if the given
HtmlLabel's parts are valid siblings to each
other. |
void |
checkHtmlTagChildrenAreValidSiblings(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
Checks if the given
HtmlTag's children are valid siblings to each
other. |
void |
checkSelfClosingTagIsAllowed(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
Checks if the given
HtmlTag is properly closed. |
void |
checkStringLiteralIsAllowed(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
Checks if a string literal is allowed in the given
HtmlTag. |
void |
checkTagIsClosed(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
Checks if the given
HtmlTag is properly closed. |
void |
checkTagNameIsValid(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
Checks if the given
HtmlTag is valid w.r.t. its parent (not all
tags are allowed on all nesting levels). |
getEPackagesacceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warningpublic void checkHtmlLabelPartsAreValidSiblings(org.eclipse.gef.dot.internal.language.htmllabel.HtmlLabel label)
HtmlLabel's parts are valid siblings to each
other. Generates errors if the label's parts contains invalid siblings.label - The HtmlLabel of that's parts are to be checked.public void checkHtmlTagChildrenAreValidSiblings(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
HtmlTag's children are valid siblings to each
other. Generates errors if the tag's children contains invalid siblings.tag - The HtmlTag of that's children are to be checked.public void checkTagIsClosed(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
HtmlTag is properly closed. Generates errors
if the html's open tag does not correspond to its close tag.tag - The HtmlTag to check.public void checkSelfClosingTagIsAllowed(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
HtmlTag is properly closed. Generates errors
if the html tag is self-closed where self-closing is not allowed.tag - The HtmlTag to check.public void checkStringLiteralIsAllowed(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
HtmlTag.
Generates errors if the html tag is not allowed to contain a string
literal.tag - The HtmlTag to check.public void checkTagNameIsValid(org.eclipse.gef.dot.internal.language.htmllabel.HtmlTag tag)
HtmlTag is valid w.r.t. its parent (not all
tags are allowed on all nesting levels). Generates errors when the given
HtmlTag is not supported by Graphviz w.r.t. its parent.tag - The HtmlTag to check.public void checkAttributeNameIsValid(org.eclipse.gef.dot.internal.language.htmllabel.HtmlAttr attr)
HtmlAttr is valid w.r.t. its tag (only
certain attributes are supported by the individual tags). Generates
errors if the HtmlAttr is not supported by Graphviz w.r.t. its
tag.attr - The HtmlAttr to check.public void checkAttributeValueIsValid(org.eclipse.gef.dot.internal.language.htmllabel.HtmlAttr attr)
HtmlAttr is valid. Generates
errors if the value of a given HtmlAttr is not supported by
Graphviz.attr - The HtmlAttr of that's attribute value is to check.Copyright (c) 2014 itemis AG and others. All rights reserved.