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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, DocumentType doctype)
      Creates a DOM Document object of the specified type with its document element.
      DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
      Creates an empty DocumentType node.
      Document createHTMLDocument(java.lang.String title)
      Returns a document, with a basic tree already constructed including a title element, unless the title argument is omitted.
      boolean hasFeature()
      Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
    • 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(java.lang.String qualifiedName,
                                                                                     java.lang.String publicId,
                                                                                     java.lang.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.
      • createDocument

        @DOMNameAttribute(name="createDocument")
        Document createDocument(@DOMNullableAttribute
                                                                         java.lang.String namespaceURI,
                                                                         java.lang.String qualifiedName,
                                                                         @DOMNullableAttribute
                                                                         DocumentType doctype)

        Creates a DOM Document object of the specified type with its document element.

        Parameters:
        namespaceURI - The namespace URI.
        qualifiedName - Name of the qualified.
        doctype - The doctype.
        Returns:
        Returns document.
      • createHTMLDocument

        @DOMNameAttribute(name="createHTMLDocument")
        Document createHTMLDocument(@DOMNullableAttribute
                                                                                 java.lang.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.