Class HtmlObject

    • 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
      • isValid

        public boolean isValid()
        Returns whether this element satisfies all form validation constraints set.
        Overrides:
        isValid in class HtmlElement
        Returns:
        whether this element satisfies all form validation constraints set
      • willValidate

        public boolean willValidate()
        Specified by:
        willValidate in interface ValidatableElement
        Returns:
        whether the element is a candidate for constraint validation
      • setCustomValidity

        public void setCustomValidity​(java.lang.String message)
        Sets the custom validity message for the element to the specified message.
        Specified by:
        setCustomValidity in interface ValidatableElement
        Parameters:
        message - the new message
      • isCustomErrorValidityState

        public boolean isCustomErrorValidityState()
        Specified by:
        isCustomErrorValidityState in interface ValidatableElement
        Returns:
        a boolean value indicating whether the element's custom validity message has been set to a non-empty string by calling the element's setCustomValidity() method.
      • isValidValidityState

        public boolean isValidValidityState()
        Specified by:
        isValidValidityState in interface ValidatableElement
        Returns:
        true if the element meets all its validation constraints, and is therefore considered to be valid, or false if it fails any constraint. If true, the element matches the :valid CSS pseudo-class; the :invalid CSS pseudo-class otherwise.