com.aspose.html

Class HTMLDocument

    • Constructor Detail

      • HTMLDocument

        public HTMLDocument()

        Initializes a new instance of the HTMLDocument class.

      • HTMLDocument

        public HTMLDocument(Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(Url url)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        url - The document URL.
      • HTMLDocument

        public HTMLDocument(Url url,
                            Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        url - The document URL.
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(String address)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        address - The document address.
      • HTMLDocument

        public HTMLDocument(String address,
                            Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        address - The document address.
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(String content,
                            String baseUri)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        content - The document content.
        baseUri - The base URI of the document.
      • HTMLDocument

        public HTMLDocument(String content,
                            String baseUri,
                            Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        content - The document content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(InputStream content,
                            String baseUri)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        content - The document content.
        baseUri - The base URI of the document.
      • HTMLDocument

        public HTMLDocument(com.aspose.ms.System.IO.Stream content,
                            String baseUri)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        content - The document content.
        baseUri - The base URI of the document.
      • HTMLDocument

        public HTMLDocument(InputStream content,
                            String baseUri,
                            Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        content - The document content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(com.aspose.ms.System.IO.Stream content,
                            String baseUri,
                            Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        content - The document content.
        baseUri - The base URI of the document.
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(RequestMessage request)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        request - The request message.
      • HTMLDocument

        public HTMLDocument(RequestMessage request,
                            Configuration configuration)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        request - The request message.
        configuration - The environment configuration.
      • HTMLDocument

        public HTMLDocument(ResponseMessage response,
                            IBrowsingContext context)

        Initializes a new instance of the HTMLDocument class.

        Parameters:
        response - The response.
        context - The context.