Class BodyElement


  • @TagName("body")
    public class BodyElement
    extends Element
    The HTML document body. This element is always present in the DOM API, even if the tags are not present in the source document.
    See Also:
    W3C HTML Specification
    • Constructor Detail

      • BodyElement

        protected BodyElement()
    • Method Detail

      • as

        public static BodyElement as​(Element elem)
        Assert that the given Element is compatible with this class and automatically typecast it.
      • is

        public static boolean is​(JavaScriptObject o)
        Determines whether the given JavaScriptObject can be cast to this class. A null object will cause this method to return false.
      • is

        public static boolean is​(Node node)
        Determine whether the given Node can be cast to this class. A null node will cause this method to return false.
      • is

        public static boolean is​(Element elem)
        Determine whether the given Element can be cast to this class. A null node will cause this method to return false.