Class Media.Partial.ExternalNeedsUrl

  • Enclosing interface:
    Media.Partial

    public static class Media.Partial.ExternalNeedsUrl
    extends Object
    This partially constructed media node is external and still needs a url.
    • Constructor Detail

      • ExternalNeedsUrl

        public ExternalNeedsUrl()
    • Method Detail

      • url

        public Media.ExternalMedia url​(String url)
        Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.
        Parameters:
        url - the target URI for the external media
        Returns:
        the resulting fully constructed media node
        Throws:
        AdfException.InvalidURI - if url is not a valid URI
      • url

        public Media.ExternalMedia url​(URL url)
        Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.
        Parameters:
        url - the target URI for the external media
        Returns:
        the resulting fully constructed media node
        Throws:
        AdfException.InvalidURI - if url is not a valid URI
      • url

        public Media.ExternalMedia url​(URI url)
        Sets the URI on this partially constructed media node, after which it is fully constructed as a valid media node.
        Parameters:
        url - the target URI for the external media
        Returns:
        the resulting fully constructed media node