Class FrameTag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Node, Tag

    public class FrameTag
    extends TagNode
    Identifies a frame tag
    See Also:
    Serialized Form
    • Constructor Detail

      • FrameTag

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

      • getIds

        public java.lang.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 java.lang.String getFrameLocation()
        Returns the location of the frame.
        Returns:
        The contents of the SRC attribute converted to an absolute URL.
      • setFrameLocation

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

        public java.lang.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 java.lang.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.