Class BaseElement


@TagName("base") public class BaseElement extends Element
Document base URI.
See Also:
  • Field Details

  • Constructor Details

    • BaseElement

      protected BaseElement()
  • Method Details

    • 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 String getHref()
      The base URI See the href attribute definition in HTML 4.01.
      See Also:
    • getTarget

      public final String getTarget()
      The default target frame.
      See Also:
    • setHref

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

      public final void setTarget(String target)
      The default target frame.
      See Also: