Class HtmlObject

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.Node

    public class HtmlObject
    extends HtmlElement
    Wrapper for the HTML element "object".
    See Also:
    Serialized Form
    • Field Detail

      • TAG_NAME

        public static final java.lang.String TAG_NAME
        The HTML tag represented by this element.
        See Also:
        Constant Field Values
    • Method Detail

      • getDeclareAttribute

        public final java.lang.String getDeclareAttribute()
        Returns the value of the attribute declare. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute declare or an empty string if that attribute isn't defined.
      • getClassIdAttribute

        public final java.lang.String getClassIdAttribute()
        Returns the value of the attribute classid. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute classid or an empty string if that attribute isn't defined.
      • getCodebaseAttribute

        public final java.lang.String getCodebaseAttribute()
        Returns the value of the attribute "codebase". Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute "codebase" or an empty string if that attribute isn't defined.
      • getDataAttribute

        public final java.lang.String getDataAttribute()
        Returns the value of the attribute data. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute data or an empty string if that attribute isn't defined.
      • getTypeAttribute

        public final java.lang.String getTypeAttribute()
        Returns the value of the attribute type. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute type or an empty string if that attribute isn't defined.
      • getCodeTypeAttribute

        public final java.lang.String getCodeTypeAttribute()
        Returns the value of the attribute "codetype". Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute "codetype" or an empty string if that attribute isn't defined.
      • getArchiveAttribute

        public final java.lang.String getArchiveAttribute()
        Returns the value of the attribute archive. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute archive or an empty string if that attribute isn't defined.
      • getStandbyAttribute

        public final java.lang.String getStandbyAttribute()
        Returns the value of the attribute standby. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute standby or an empty string if that attribute isn't defined.
      • getHeightAttribute

        public final java.lang.String getHeightAttribute()
        Returns the value of the attribute height. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute height or an empty string if that attribute isn't defined.
      • getWidthAttribute

        public final java.lang.String getWidthAttribute()
        Returns the value of the attribute width. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute width or an empty string if that attribute isn't defined.
      • getUseMapAttribute

        public final java.lang.String getUseMapAttribute()
        Returns the value of the attribute usemap. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute usemap or an empty string if that attribute isn't defined.
      • getNameAttribute

        public final java.lang.String getNameAttribute()
        Returns the value of the attribute name. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute name or an empty string if that attribute isn't defined.
      • getTabIndexAttribute

        public final java.lang.String getTabIndexAttribute()
        Returns the value of the attribute tabindex. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute tabindex or an empty string if that attribute isn't defined.
      • getAlignAttribute

        public final java.lang.String getAlignAttribute()
        Returns the value of the attribute align. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute align or an empty string if that attribute isn't defined.
      • getBorderAttribute

        public final java.lang.String getBorderAttribute()
        Returns the value of the attribute border. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute border or an empty string if that attribute isn't defined.
      • getHspaceAttribute

        public final java.lang.String getHspaceAttribute()
        Returns the value of the attribute hspace. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute hspace or an empty string if that attribute isn't defined.
      • getVspaceAttribute

        public final java.lang.String getVspaceAttribute()
        Returns the value of the attribute vspace. Refer to the HTML 4.01 documentation for details on the use of this attribute.
        Returns:
        the value of the attribute vspace or an empty string if that attribute isn't defined.
      • onAllChildrenAddedToPage

        public void onAllChildrenAddedToPage​(boolean postponed)
        Initialize the ActiveX(Mock). Lifecycle method invoked after a node and all its children have been added to a page, during parsing of the HTML. Intended to be overridden by nodes which need to perform custom logic after they and all their child nodes have been processed by the HTML parser. This method is not recursive, and the default implementation is empty, so there is no need to call super.onAllChildrenAddedToPage() if you implement this method.
        Overrides:
        onAllChildrenAddedToPage in class DomNode
        Parameters:
        postponed - whether to use PostponedAction or no
      • getApplet

        public java.applet.Applet getApplet()
                                     throws java.io.IOException
        Gets the applet referenced by this tag. Instantiates it if necessary.
        Returns:
        the applet or null, if the installed AppletConfirmHandler prohibits this applet
        Throws:
        java.io.IOException - in case of problem