com.aspose.html

Class HTMLObjectElement

    • Constructor Detail

      • HTMLObjectElement

        public HTMLObjectElement(com.aspose.html.dom.DOMName name,
                                 Document doc)

        Initializes a new instance of the HTMLObjectElement class.

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

      • getCode

        @DOMNameAttribute(name="code")
        public java.lang.String getCode()

        Applet class file. See the code attribute for HTMLAppletElement.

      • setCode

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

        Applet class file. See the code attribute for HTMLAppletElement.

      • getAlign

        @DOMNameAttribute(name="align")
        public java.lang.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(java.lang.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 java.lang.String getArchive()

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

      • setArchive

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

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

      • getBorder

        @DOMNameAttribute(name="border")
        public java.lang.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(java.lang.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.

      • getCodeType

        @DOMNameAttribute(name="codeType")
        public java.lang.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(java.lang.String value)

        Content type for data downloaded via classid attribute. See the codetype attribute definition in HTML 4.01.

      • getClassId

        @DOMNameAttribute(name="classId")
        public java.lang.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(java.lang.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 java.lang.String getHeight()

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

      • setHeight

        @DOMNameAttribute(name="height")
        public void setHeight(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.String value)

        Content type for data downloaded via data attribute. See the type attribute definition in HTML 4.01.

      • getUseMap

        @DOMNameAttribute(name="useMap")
        public java.lang.String getUseMap()

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

      • setUseMap

        @DOMNameAttribute(name="useMap")
        public void setUseMap(java.lang.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.

      • getWidth

        @DOMNameAttribute(name="width")
        public java.lang.String getWidth()

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

      • setWidth

        @DOMNameAttribute(name="width")
        public void setWidth(java.lang.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