Class HtmlAdapterFactory

    • Constructor Detail

      • HtmlAdapterFactory

        public HtmlAdapterFactory()
        Creates an instance of the adapter factory.
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(Object object)
        Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
        Specified by:
        isFactoryForType in interface AdapterFactory
        Overrides:
        isFactoryForType in class AdapterFactoryImpl
        Returns:
        whether this factory is applicable for the type of the object.
      • createHtmlElementAdapter

        public Adapter createHtmlElementAdapter()
        Creates a new adapter for an object of class 'Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        HtmlElement
      • createTagAdapter

        public Adapter createTagAdapter()
        Creates a new adapter for an object of class 'Tag'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Tag
      • createPageAdapter

        public Adapter createPageAdapter()
        Creates a new adapter for an object of class 'Page'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Page
      • createStylesheetAdapter

        public Adapter createStylesheetAdapter()
        Creates a new adapter for an object of class 'Stylesheet'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Stylesheet
      • createScriptAdapter

        public Adapter createScriptAdapter()
        Creates a new adapter for an object of class 'Script'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Script
      • createScriptReferenceAdapter

        public Adapter createScriptReferenceAdapter()
        Creates a new adapter for an object of class 'Script Reference'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        ScriptReference
      • createIMarkedAdapter

        public Adapter createIMarkedAdapter()
        Creates a new adapter for an object of class 'IMarked'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Marked
      • createMarkedAdapter

        public Adapter createMarkedAdapter()
        Creates a new adapter for an object of class 'Marked'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Marked
      • createAdaptableAdapter

        public Adapter createAdaptableAdapter()
        Creates a new adapter for an object of class 'Adaptable'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Adaptable
      • createModelElementAdapter

        public Adapter createModelElementAdapter()
        Creates a new adapter for an object of class 'Model Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        ModelElement
      • createFilterAdapter

        public Adapter createFilterAdapter()
        Creates a new adapter for an object of class 'Filter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Filter
      • createEObjectAdapter

        public Adapter createEObjectAdapter()
        Creates a new adapter for the default case. This default implementation returns null.
        Returns:
        the new adapter.