Class DefaultContentAdapter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IContentAdapter INSTANCE
      The sole instance of the default content adapter.
    • Field Detail

      • INSTANCE

        public static final IContentAdapter INSTANCE
        The sole instance of the default content adapter.
    • Method Detail

      • adapt

        public IElement adapt​(java.lang.Object element)
        Description copied from interface: IContentAdapter
        Returns the IElement that corresponds to the given element.
        Specified by:
        adapt in interface IContentAdapter
        Parameters:
        element - may be null
        Returns:
        the corresponding IElement, or null if none