Class DomSourceBuilder

    • Constructor Detail

    • Method Detail

      • src

        public SourceBuilder src​(java.lang.String url)
        Description copied from interface: SourceBuilder
        Sets the source URL for the media.
        Specified by:
        src in interface SourceBuilder
        Parameters:
        url - a String URL
      • type

        public SourceBuilder type​(java.lang.String type)
        Description copied from interface: SourceBuilder
        Sets the type of media represented by the src. The browser will look at the type when deciding which source files to request from the server.
        Specified by:
        type in interface SourceBuilder
        Parameters:
        type - the media type
        See Also:
        SourceElement.setType(String)