Class HtmlUnknownElement

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

    public class HtmlUnknownElement
    extends HtmlElement
    An element that is returned for an HTML tag that is not supported by this framework.
    See Also:
    Serialized Form
    • Method Detail

      • markAsCreatedByJavascript

        public void markAsCreatedByJavascript()
        INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
        Marks this frame as created by javascript. This is needed to handle some special IE behavior.
      • wasCreatedByJavascript

        public boolean wasCreatedByJavascript()
        INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
        Returns true if this frame was created by javascript. This is needed to handle some special IE behavior.
        Returns:
        true or false
      • isEmptyXmlTagExpanded

        protected boolean isEmptyXmlTagExpanded()
        Indicates if a node without children should be written in expanded form as XML (i.e. with closing tag rather than with "/>")
        Overrides:
        isEmptyXmlTagExpanded in class DomElement
        Returns:
        true to make generated XML readable as HTML.