Class BaseElement

    • Constructor Detail

      • BaseElement

        protected BaseElement()
    • Method Detail

      • as

        public static BaseElement 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.
      • getHref

        public final java.lang.String getHref()
        The base URI See the href attribute definition in HTML 4.01.
        See Also:
        W3C HTML Specification
      • getTarget

        public final java.lang.String getTarget()
        The default target frame.
        See Also:
        W3C HTML Specification
      • setHref

        public final void setHref​(java.lang.String href)
        The base URI See the href attribute definition in HTML 4.01.
        See Also:
        W3C HTML Specification
      • setTarget

        public final void setTarget​(java.lang.String target)
        The default target frame.
        See Also:
        W3C HTML Specification