Class BootstrapSwitch<T>


  • public class BootstrapSwitch<T>
    extends Switch<T>
    The Switch for the model's inheritance hierarchy. It supports the call 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.
    See Also:
    BootstrapPackage
    • Constructor Summary

      Constructors 
      Constructor Description
      BootstrapSwitch()
      Creates an instance of the switch.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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 caseAdaptable​(org.nasdanika.common.Adaptable object)
      Returns the result of interpreting the object as an instance of 'Adaptable'.
      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 caseCarousel​(Carousel object)
      Returns the result of interpreting the object as an instance of 'Carousel'.
      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 caseIMarked​(org.nasdanika.persistence.Marked object)
      Returns the result of interpreting the object as an instance of 'IMarked'.
      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 caseSlide​(Slide object)
      Returns the result of interpreting the object as an instance of 'Slide'.
      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​(EObject object)
      Returns the result of interpreting the object as an instance of 'EObject'.
      protected T doSwitch​(int classifierID, EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      protected boolean isSwitchFor​(EPackage ePackage)
      Checks whether this is a switch for the given package.
    • Constructor Detail

      • BootstrapSwitch

        public BootstrapSwitch()
        Creates an instance of the switch.
    • Method Detail

      • isSwitchFor

        protected boolean isSwitchFor​(EPackage ePackage)
        Checks whether this is a switch for the given package.
        Specified by:
        isSwitchFor in class Switch<T>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
      • doSwitch

        protected T doSwitch​(int classifierID,
                             EObject theEObject)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Overrides:
        doSwitch in class Switch<T>
        Returns:
        the first non-null result returned by a caseXXX call.
      • caseBootstrapElement

        public T caseBootstrapElement​(BootstrapElement object)
        Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Element'.
        See Also:
        doSwitch(EObject)
      • casePage

        public T casePage​(Page object)
        Returns the result of interpreting the object as an instance of 'Page'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Page'.
        See Also:
        doSwitch(EObject)
      • caseAppearance

        public T caseAppearance​(Appearance object)
        Returns the result of interpreting the object as an instance of 'Appearance'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Appearance'.
        See Also:
        doSwitch(EObject)
      • caseAppearanceEntry

        public T caseAppearanceEntry​(Map.Entry<String,​Appearance> object)
        Returns the result of interpreting the object as an instance of 'Appearance Entry'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Appearance Entry'.
        See Also:
        doSwitch(EObject)
      • caseBorder

        public T caseBorder​(Border object)
        Returns the result of interpreting the object as an instance of 'Border'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Border'.
        See Also:
        doSwitch(EObject)
      • caseSpacing

        public T caseSpacing​(Spacing object)
        Returns the result of interpreting the object as an instance of 'Spacing'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Spacing'.
        See Also:
        doSwitch(EObject)
      • caseText

        public T caseText​(Text object)
        Returns the result of interpreting the object as an instance of 'Text'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Text'.
        See Also:
        doSwitch(EObject)
      • caseFloat

        public T caseFloat​(Float object)
        Returns the result of interpreting the object as an instance of 'Float'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Float'.
        See Also:
        doSwitch(EObject)
      • caseTag

        public T caseTag​(Tag object)
        Returns the result of interpreting the object as an instance of 'Tag'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Tag'.
        See Also:
        doSwitch(EObject)
      • caseDiv

        public T caseDiv​(Div object)
        Returns the result of interpreting the object as an instance of 'Div'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Div'.
        See Also:
        doSwitch(EObject)
      • caseItem

        public T caseItem​(Item object)
        Returns the result of interpreting the object as an instance of 'Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Item'.
        See Also:
        doSwitch(EObject)
      • caseActionGroupItem

        public T caseActionGroupItem​(ActionGroupItem object)
        Returns the result of interpreting the object as an instance of 'Action Group Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Action Group Item'.
        See Also:
        doSwitch(EObject)
      • caseLinkActionGroupItem

        public T caseLinkActionGroupItem​(LinkActionGroupItem object)
        Returns the result of interpreting the object as an instance of 'Link Action Group Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Link Action Group Item'.
        See Also:
        doSwitch(EObject)
      • caseContentActionGroupItem

        public T caseContentActionGroupItem​(ContentActionGroupItem object)
        Returns the result of interpreting the object as an instance of 'Content Action Group Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Content Action Group Item'.
        See Also:
        doSwitch(EObject)
      • caseActionGroup

        public T caseActionGroup​(ActionGroup object)
        Returns the result of interpreting the object as an instance of 'Action Group'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Action Group'.
        See Also:
        doSwitch(EObject)
      • caseContainer

        public T caseContainer​(Container object)
        Returns the result of interpreting the object as an instance of 'Container'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Container'.
        See Also:
        doSwitch(EObject)
      • caseRow

        public T caseRow​(Row object)
        Returns the result of interpreting the object as an instance of 'Row'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Row'.
        See Also:
        doSwitch(EObject)
      • caseColumnWidth

        public T caseColumnWidth​(ColumnWidth object)
        Returns the result of interpreting the object as an instance of 'Column Width'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Column Width'.
        See Also:
        doSwitch(EObject)
      • caseColumn

        public T caseColumn​(Column object)
        Returns the result of interpreting the object as an instance of 'Column'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Column'.
        See Also:
        doSwitch(EObject)
      • caseTableRowContainer

        public T caseTableRowContainer​(TableRowContainer object)
        Returns the result of interpreting the object as an instance of 'Table Row Container'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table Row Container'.
        See Also:
        doSwitch(EObject)
      • caseTableSection

        public T caseTableSection​(TableSection object)
        Returns the result of interpreting the object as an instance of 'Table Section'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table Section'.
        See Also:
        doSwitch(EObject)
      • caseTableHeader

        public T caseTableHeader​(TableHeader object)
        Returns the result of interpreting the object as an instance of 'Table Header'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table Header'.
        See Also:
        doSwitch(EObject)
      • caseTableConfiguration

        public T caseTableConfiguration​(TableConfiguration object)
        Returns the result of interpreting the object as an instance of 'Table Configuration'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table Configuration'.
        See Also:
        doSwitch(EObject)
      • caseTable

        public T caseTable​(Table object)
        Returns the result of interpreting the object as an instance of 'Table'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table'.
        See Also:
        doSwitch(EObject)
      • caseTableRow

        public T caseTableRow​(TableRow object)
        Returns the result of interpreting the object as an instance of 'Table Row'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table Row'.
        See Also:
        doSwitch(EObject)
      • caseTableCell

        public T caseTableCell​(TableCell object)
        Returns the result of interpreting the object as an instance of 'Table Cell'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Table Cell'.
        See Also:
        doSwitch(EObject)
      • caseCard

        public T caseCard​(Card object)
        Returns the result of interpreting the object as an instance of 'Card'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Card'.
        See Also:
        doSwitch(EObject)
      • caseAlert

        public T caseAlert​(Alert object)
        Returns the result of interpreting the object as an instance of 'Alert'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Alert'.
        See Also:
        doSwitch(EObject)
      • caseBadge

        public T caseBadge​(Badge object)
        Returns the result of interpreting the object as an instance of 'Badge'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Badge'.
        See Also:
        doSwitch(EObject)
      • caseBreadcrumb

        public T caseBreadcrumb​(Breadcrumb object)
        Returns the result of interpreting the object as an instance of 'Breadcrumb'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Breadcrumb'.
        See Also:
        doSwitch(EObject)
      • caseButton

        public T caseButton​(Button object)
        Returns the result of interpreting the object as an instance of 'Button'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Button'.
        See Also:
        doSwitch(EObject)
      • caseButtonGroup

        public T caseButtonGroup​(ButtonGroup object)
        Returns the result of interpreting the object as an instance of 'Button Group'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Button Group'.
        See Also:
        doSwitch(EObject)
      • caseButtonToolbar

        public T caseButtonToolbar​(ButtonToolbar object)
        Returns the result of interpreting the object as an instance of 'Button Toolbar'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Button Toolbar'.
        See Also:
        doSwitch(EObject)
      • caseDropdown

        public T caseDropdown​(Dropdown object)
        Returns the result of interpreting the object as an instance of 'Dropdown'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Dropdown'.
        See Also:
        doSwitch(EObject)
      • caseForm

        public T caseForm​(Form object)
        Returns the result of interpreting the object as an instance of 'Form'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Form'.
        See Also:
        doSwitch(EObject)
      • caseListGroup

        public T caseListGroup​(ListGroup object)
        Returns the result of interpreting the object as an instance of 'List Group'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'List Group'.
        See Also:
        doSwitch(EObject)
      • caseNavs

        public T caseNavs​(Navs object)
        Returns the result of interpreting the object as an instance of 'Navs'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Navs'.
        See Also:
        doSwitch(EObject)
      • caseNavbar

        public T caseNavbar​(Navbar object)
        Returns the result of interpreting the object as an instance of 'Navbar'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Navbar'.
        See Also:
        doSwitch(EObject)
      • caseTooltip

        public T caseTooltip​(Tooltip object)
        Returns the result of interpreting the object as an instance of 'Tooltip'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Tooltip'.
        See Also:
        doSwitch(EObject)
      • caseInputGroup

        public T caseInputGroup​(InputGroup object)
        Returns the result of interpreting the object as an instance of 'Input Group'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Input Group'.
        See Also:
        doSwitch(EObject)
      • caseFormGroup

        public T caseFormGroup​(FormGroup object)
        Returns the result of interpreting the object as an instance of 'Form Group'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Form Group'.
        See Also:
        doSwitch(EObject)
      • caseCollapse

        public T caseCollapse​(Collapse object)
        Returns the result of interpreting the object as an instance of 'Collapse'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Collapse'.
        See Also:
        doSwitch(EObject)
      • caseModal

        public T caseModal​(Modal object)
        Returns the result of interpreting the object as an instance of 'Modal'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Modal'.
        See Also:
        doSwitch(EObject)
      • caseAccordion

        public T caseAccordion​(Accordion object)
        Returns the result of interpreting the object as an instance of 'Accordion'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Accordion'.
        See Also:
        doSwitch(EObject)
      • caseCarousel

        public T caseCarousel​(Carousel object)
        Returns the result of interpreting the object as an instance of 'Carousel'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Carousel'.
        See Also:
        doSwitch(EObject)
      • caseSlide

        public T caseSlide​(Slide object)
        Returns the result of interpreting the object as an instance of 'Slide'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Slide'.
        See Also:
        doSwitch(EObject)
      • caseIMarked

        public T caseIMarked​(org.nasdanika.persistence.Marked object)
        Returns the result of interpreting the object as an instance of 'IMarked'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'IMarked'.
        See Also:
        doSwitch(EObject)
      • caseMarked

        public T caseMarked​(org.nasdanika.ncore.Marked object)
        Returns the result of interpreting the object as an instance of 'Marked'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Marked'.
        See Also:
        doSwitch(EObject)
      • caseAdaptable

        public T caseAdaptable​(org.nasdanika.common.Adaptable object)
        Returns the result of interpreting the object as an instance of 'Adaptable'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Adaptable'.
        See Also:
        doSwitch(EObject)
      • caseModelElement

        public T caseModelElement​(org.nasdanika.ncore.ModelElement object)
        Returns the result of interpreting the object as an instance of 'Model Element'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Model Element'.
        See Also:
        doSwitch(EObject)
      • caseHtmlElement

        public T caseHtmlElement​(HtmlElement object)
        Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Element'.
        See Also:
        doSwitch(EObject)
      • caseHtml_Page

        public T caseHtml_Page​(Page object)
        Returns the result of interpreting the object as an instance of 'Page'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Page'.
        See Also:
        doSwitch(EObject)
      • caseHtml_Tag

        public T caseHtml_Tag​(Tag object)
        Returns the result of interpreting the object as an instance of 'Tag'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Tag'.
        See Also:
        doSwitch(EObject)
      • defaultCase

        public T defaultCase​(EObject object)
        Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.
        Overrides:
        defaultCase in class Switch<T>
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'EObject'.
        See Also:
        Switch.doSwitch(org.eclipse.emf.ecore.EObject)