com.aspose.html

Class HTMLObjectElement

    • Constructor Detail

      • HTMLObjectElement

        public HTMLObjectElement(DOMName name,
                                 Document doc)

        Initializes a new instance of the HTMLObjectElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • setCode

        @DOMNameAttribute(name="code")
        public void setCode(String value)

        Applet class file. See the

         code
         
        attribute for HTMLAppletElement.

      • getAlign

        @DOMNameAttribute(name="align")
        public String getAlign()

        Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setAlign

        @DOMNameAttribute(name="align")
        public void setAlign(String value)

        Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • getArchive

        @DOMNameAttribute(name="archive")
        public String getArchive()

        Space-separated list of archives. See the archive attribute definition in HTML 4.01.

      • setArchive

        @DOMNameAttribute(name="archive")
        public void setArchive(String value)

        Space-separated list of archives. See the archive attribute definition in HTML 4.01.

      • getBorder

        @DOMNameAttribute(name="border")
        public String getBorder()

        Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setBorder

        @DOMNameAttribute(name="border")
        public void setBorder(String value)

        Width of border around the object. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setCodeBase

        @DOMNameAttribute(name="codeBase")
        public void setCodeBase(String value)

        Base URI [IETF RFC 2396] for classid, data, and archive attributes. See the codebase attribute definition in HTML 4.01.

      • getCodeType

        @DOMNameAttribute(name="codeType")
        public String getCodeType()

        Content type for data downloaded via

         classid
         
        attribute. See the codetype attribute definition in HTML 4.01.

      • setCodeType

        @DOMNameAttribute(name="codeType")
        public void setCodeType(String value)

        Content type for data downloaded via

         classid
         
        attribute. See the codetype attribute definition in HTML 4.01.

      • getClassId

        @DOMNameAttribute(name="classId")
        public String getClassId()

        Defines a class ID value as set in the Windows Registry or a URL

        Value: The class id.
      • setClassId

        @DOMNameAttribute(name="classId")
        public void setClassId(String value)

        Defines a class ID value as set in the Windows Registry or a URL

        Value: The class id.
      • getDeclare

        @DOMNameAttribute(name="declare")
        public boolean getDeclare()

        Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.

      • setDeclare

        @DOMNameAttribute(name="declare")
        public void setDeclare(boolean value)

        Declare (for future reference), but do not instantiate, this object. See the declare attribute definition in HTML 4.01.

      • getHeight

        @DOMNameAttribute(name="height")
        public String getHeight()

        Override height. See the height attribute definition in HTML 4.01.

      • setHeight

        @DOMNameAttribute(name="height")
        public void setHeight(String value)

        Override height. See the height attribute definition in HTML 4.01.

      • getHspace

        @DOMNameAttribute(name="hspace")
        public int getHspace()

        Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setHspace

        @DOMNameAttribute(name="hspace")
        public void setHspace(int value)

        Horizontal space, in pixels, to the left and right of this image, applet, or object. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • getName

        @DOMNameAttribute(name="name")
        public String getName()

        Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.

      • setName

        @DOMNameAttribute(name="name")
        public void setName(String value)

        Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.

      • getStandby

        @DOMNameAttribute(name="standby")
        public String getStandby()

        Message to render while loading the object. See the standby attribute definition in HTML 4.01.

      • setStandby

        @DOMNameAttribute(name="standby")
        public void setStandby(String value)

        Message to render while loading the object. See the standby attribute definition in HTML 4.01.

      • getTabIndex

        @DOMNameAttribute(name="tabIndex")
        public int getTabIndex()

        Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

      • setTabIndex

        @DOMNameAttribute(name="tabIndex")
        public void setTabIndex(int value)

        Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

      • getType

        @DOMNameAttribute(name="type")
        public String getType()

        Content type for data downloaded via

         data
         
        attribute. See the type attribute definition in HTML 4.01.

      • setType

        @DOMNameAttribute(name="type")
        public void setType(String value)

        Content type for data downloaded via

         data
         
        attribute. See the type attribute definition in HTML 4.01.

      • getUseMap

        @DOMNameAttribute(name="useMap")
        public String getUseMap()

        Use client-side image map. See the usemap attribute definition in HTML 4.01.

      • setUseMap

        @DOMNameAttribute(name="useMap")
        public void setUseMap(String value)

        Use client-side image map. See the usemap attribute definition in HTML 4.01.

      • getVspace

        @DOMNameAttribute(name="vspace")
        public int getVspace()

        Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setVspace

        @DOMNameAttribute(name="vspace")
        public void setVspace(int value)

        Vertical space, in pixels, above and below this image, applet, or object. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setWidth

        @DOMNameAttribute(name="width")
        public void setWidth(String value)

        Override width. See the width attribute definition in HTML 4.01.

      • getContentDocument

        public Document getContentDocument()

        The document this object contains, if there is any and it is available, or

         null
         
        otherwise.
        Since:
        DOM Level 2