public class BootstrapSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
doSwitch(object)
to invoke the caseXXX method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
BootstrapPackage| Modifier and Type | Field and Description |
|---|---|
protected static BootstrapPackage |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
BootstrapSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAccordion(Accordion object)
Returns the result of interpreting the object as an instance of 'Accordion'.
|
T |
caseActionGroup(ActionGroup object)
Returns the result of interpreting the object as an instance of 'Action Group'.
|
T |
caseActionGroupItem(ActionGroupItem object)
Returns the result of interpreting the object as an instance of 'Action Group Item'.
|
T |
caseAlert(Alert object)
Returns the result of interpreting the object as an instance of 'Alert'.
|
T |
caseAppearance(Appearance object)
Returns the result of interpreting the object as an instance of 'Appearance'.
|
T |
caseAppearanceEntry(Map.Entry<String,Appearance> object)
Returns the result of interpreting the object as an instance of 'Appearance Entry'.
|
T |
caseBadge(Badge object)
Returns the result of interpreting the object as an instance of 'Badge'.
|
T |
caseBootstrapElement(BootstrapElement object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseBorder(Border object)
Returns the result of interpreting the object as an instance of 'Border'.
|
T |
caseBreadcrumb(Breadcrumb object)
Returns the result of interpreting the object as an instance of 'Breadcrumb'.
|
T |
caseButton(Button object)
Returns the result of interpreting the object as an instance of 'Button'.
|
T |
caseButtonGroup(ButtonGroup object)
Returns the result of interpreting the object as an instance of 'Button Group'.
|
T |
caseButtonToolbar(ButtonToolbar object)
Returns the result of interpreting the object as an instance of 'Button Toolbar'.
|
T |
caseCard(Card object)
Returns the result of interpreting the object as an instance of 'Card'.
|
T |
caseCollapse(Collapse object)
Returns the result of interpreting the object as an instance of 'Collapse'.
|
T |
caseColumn(Column object)
Returns the result of interpreting the object as an instance of 'Column'.
|
T |
caseColumnWidth(ColumnWidth object)
Returns the result of interpreting the object as an instance of 'Column Width'.
|
T |
caseContainer(Container object)
Returns the result of interpreting the object as an instance of 'Container'.
|
T |
caseContentActionGroupItem(ContentActionGroupItem object)
Returns the result of interpreting the object as an instance of 'Content Action Group Item'.
|
T |
caseDiv(Div object)
Returns the result of interpreting the object as an instance of 'Div'.
|
T |
caseDropdown(Dropdown object)
Returns the result of interpreting the object as an instance of 'Dropdown'.
|
T |
caseFloat(Float object)
Returns the result of interpreting the object as an instance of 'Float'.
|
T |
caseForm(Form object)
Returns the result of interpreting the object as an instance of 'Form'.
|
T |
caseFormGroup(FormGroup object)
Returns the result of interpreting the object as an instance of 'Form Group'.
|
T |
caseHtml_Page(Page object)
Returns the result of interpreting the object as an instance of 'Page'.
|
T |
caseHtml_Tag(Tag object)
Returns the result of interpreting the object as an instance of 'Tag'.
|
T |
caseHtmlElement(HtmlElement object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseInputGroup(InputGroup object)
Returns the result of interpreting the object as an instance of 'Input Group'.
|
T |
caseItem(Item object)
Returns the result of interpreting the object as an instance of 'Item'.
|
T |
caseLinkActionGroupItem(LinkActionGroupItem object)
Returns the result of interpreting the object as an instance of 'Link Action Group Item'.
|
T |
caseListGroup(ListGroup object)
Returns the result of interpreting the object as an instance of 'List Group'.
|
T |
caseMarked(org.nasdanika.ncore.Marked object)
Returns the result of interpreting the object as an instance of 'Marked'.
|
T |
caseModal(Modal object)
Returns the result of interpreting the object as an instance of 'Modal'.
|
T |
caseModelElement(org.nasdanika.ncore.ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseNavbar(Navbar object)
Returns the result of interpreting the object as an instance of 'Navbar'.
|
T |
caseNavs(Navs object)
Returns the result of interpreting the object as an instance of 'Navs'.
|
T |
casePage(Page object)
Returns the result of interpreting the object as an instance of 'Page'.
|
T |
caseRow(Row object)
Returns the result of interpreting the object as an instance of 'Row'.
|
T |
caseSpacing(Spacing object)
Returns the result of interpreting the object as an instance of 'Spacing'.
|
T |
caseTable(Table object)
Returns the result of interpreting the object as an instance of 'Table'.
|
T |
caseTableCell(TableCell object)
Returns the result of interpreting the object as an instance of 'Table Cell'.
|
T |
caseTableConfiguration(TableConfiguration object)
Returns the result of interpreting the object as an instance of 'Table Configuration'.
|
T |
caseTableHeader(TableHeader object)
Returns the result of interpreting the object as an instance of 'Table Header'.
|
T |
caseTableRow(TableRow object)
Returns the result of interpreting the object as an instance of 'Table Row'.
|
T |
caseTableRowContainer(TableRowContainer object)
Returns the result of interpreting the object as an instance of 'Table Row Container'.
|
T |
caseTableSection(TableSection object)
Returns the result of interpreting the object as an instance of 'Table Section'.
|
T |
caseTag(Tag object)
Returns the result of interpreting the object as an instance of 'Tag'.
|
T |
caseText(Text object)
Returns the result of interpreting the object as an instance of 'Text'.
|
T |
caseTooltip(Tooltip object)
Returns the result of interpreting the object as an instance of 'Tooltip'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static BootstrapPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>ePackage - the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>caseXXX call.public T caseBootstrapElement(BootstrapElement object)
object - the target of the switch.doSwitch(EObject)public T casePage(Page object)
object - the target of the switch.doSwitch(EObject)public T caseAppearance(Appearance object)
object - the target of the switch.doSwitch(EObject)public T caseAppearanceEntry(Map.Entry<String,Appearance> object)
object - the target of the switch.doSwitch(EObject)public T caseBorder(Border object)
object - the target of the switch.doSwitch(EObject)public T caseSpacing(Spacing object)
object - the target of the switch.doSwitch(EObject)public T caseText(Text object)
object - the target of the switch.doSwitch(EObject)public T caseFloat(Float object)
object - the target of the switch.doSwitch(EObject)public T caseTag(Tag object)
object - the target of the switch.doSwitch(EObject)public T caseDiv(Div object)
object - the target of the switch.doSwitch(EObject)public T caseItem(Item object)
object - the target of the switch.doSwitch(EObject)public T caseActionGroupItem(ActionGroupItem object)
object - the target of the switch.doSwitch(EObject)public T caseLinkActionGroupItem(LinkActionGroupItem object)
object - the target of the switch.doSwitch(EObject)public T caseContentActionGroupItem(ContentActionGroupItem object)
object - the target of the switch.doSwitch(EObject)public T caseActionGroup(ActionGroup object)
object - the target of the switch.doSwitch(EObject)public T caseContainer(Container object)
object - the target of the switch.doSwitch(EObject)public T caseRow(Row object)
object - the target of the switch.doSwitch(EObject)public T caseColumnWidth(ColumnWidth object)
object - the target of the switch.doSwitch(EObject)public T caseColumn(Column object)
object - the target of the switch.doSwitch(EObject)public T caseTableRowContainer(TableRowContainer object)
object - the target of the switch.doSwitch(EObject)public T caseTableSection(TableSection object)
object - the target of the switch.doSwitch(EObject)public T caseTableHeader(TableHeader object)
object - the target of the switch.doSwitch(EObject)public T caseTableConfiguration(TableConfiguration object)
object - the target of the switch.doSwitch(EObject)public T caseTable(Table object)
object - the target of the switch.doSwitch(EObject)public T caseTableRow(TableRow object)
object - the target of the switch.doSwitch(EObject)public T caseTableCell(TableCell object)
object - the target of the switch.doSwitch(EObject)public T caseCard(Card object)
object - the target of the switch.doSwitch(EObject)public T caseAlert(Alert object)
object - the target of the switch.doSwitch(EObject)public T caseBadge(Badge object)
object - the target of the switch.doSwitch(EObject)public T caseBreadcrumb(Breadcrumb object)
object - the target of the switch.doSwitch(EObject)public T caseButton(Button object)
object - the target of the switch.doSwitch(EObject)public T caseButtonGroup(ButtonGroup object)
object - the target of the switch.doSwitch(EObject)public T caseButtonToolbar(ButtonToolbar object)
object - the target of the switch.doSwitch(EObject)public T caseDropdown(Dropdown object)
object - the target of the switch.doSwitch(EObject)public T caseForm(Form object)
object - the target of the switch.doSwitch(EObject)public T caseListGroup(ListGroup object)
object - the target of the switch.doSwitch(EObject)public T caseNavs(Navs object)
object - the target of the switch.doSwitch(EObject)public T caseNavbar(Navbar object)
object - the target of the switch.doSwitch(EObject)public T caseTooltip(Tooltip object)
object - the target of the switch.doSwitch(EObject)public T caseInputGroup(InputGroup object)
object - the target of the switch.doSwitch(EObject)public T caseFormGroup(FormGroup object)
object - the target of the switch.doSwitch(EObject)public T caseCollapse(Collapse object)
object - the target of the switch.doSwitch(EObject)public T caseModal(Modal object)
object - the target of the switch.doSwitch(EObject)public T caseAccordion(Accordion object)
object - the target of the switch.doSwitch(EObject)public T caseMarked(org.nasdanika.ncore.Marked object)
object - the target of the switch.doSwitch(EObject)public T caseModelElement(org.nasdanika.ncore.ModelElement object)
object - the target of the switch.doSwitch(EObject)public T caseHtmlElement(HtmlElement object)
object - the target of the switch.doSwitch(EObject)public T caseHtml_Page(Page object)
object - the target of the switch.doSwitch(EObject)public T caseHtml_Tag(Tag object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase in class org.eclipse.emf.ecore.util.Switch<T>object - the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)Copyright © 2021 Nasdanika. All rights reserved.