Class FrameTag

All Implemented Interfaces:
Serializable, Cloneable, Node, Tag

public class FrameTag extends TagNode
Identifies a frame tag
See Also:
  • Constructor Details

    • FrameTag

      public FrameTag()
      Create a new frame tag.
  • Method Details

    • getIds

      public String[] getIds()
      Return the set of names handled by this tag.
      Specified by:
      getIds in interface Tag
      Overrides:
      getIds in class TagNode
      Returns:
      The names to be matched that create tags of this type.
    • getFrameLocation

      public String getFrameLocation()
      Returns the location of the frame.
      Returns:
      The contents of the SRC attribute converted to an absolute URL.
    • setFrameLocation

      public void setFrameLocation(String url)
      Sets the location of the frame.
      Parameters:
      url - The new frame location.
    • getFrameName

      public String getFrameName()
      Get the NAME attribute, if any.
      Returns:
      The value of the NAME attribute, or null if the attribute doesn't exist.
    • toString

      public String toString()
      Return a string representation of the contents of this FRAME tag suitable for debugging.
      Specified by:
      toString in interface Node
      Overrides:
      toString in class TagNode
      Returns:
      A string with this tag's contents.