com.aspose.html.dom

Interface IDOMImplementation



  • @DOMObjectAttribute
     @DOMNameAttribute(name="DOMImplementation")
    public interface IDOMImplementation

    The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

    • Method Detail

      • hasFeature

        boolean hasFeature()

        Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.

        Returns:
        true if the specified feature has feature; otherwise, false.
      • createDocumentType

        @DOMNameAttribute(name="createDocumentType")
        DocumentType createDocumentType(String qualifiedName,
                                                                                      String publicId,
                                                                                      String systemId)

        Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur.

        Parameters:
        qualifiedName - Name of the qualified.
        publicId - The public id.
        systemId - The system id.
        Returns:
        The DocumentType.
      • createHTMLDocument

        @DOMNameAttribute(name="createHTMLDocument")
        Document createHTMLDocument(@DOMNullableAttribute
                                                                                  String title)

        Returns a document, with a basic tree already constructed including a title element, unless the title argument is omitted.

        Parameters:
        title - The title.
        Returns:
        Returns document.