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

      • isTrimmedText

        protected boolean isTrimmedText()
        Returns a flag indicating whether or not this node should have any leading and trailing whitespace removed when DomNode.asText() is called. This method should usually return true, but must return false for such things as text formatting tags.
        Overrides:
        isTrimmedText in class DomNode
        Returns:
        a flag indicating whether or not this node should have any leading and trailing whitespace removed when DomNode.asText() is called
      • 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.