Class NoHref

  • All Implemented Interfaces:
    TagBase, AreaAttributable, java.io.Serializable, java.lang.Cloneable


    public class NoHref
    extends AbstractAttribute
    implements AreaAttributable
    nohref attribute for the element. Indicates that no hyperlink exists for the associated area. Either this attribute or the href attribute must be present in the element.
    Since:
    1.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • NoHref

        public NoHref​(java.lang.String value)
        Parameters:
        value - the value for the attribute
        Since:
        1.0.0
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
        sets the value for this attribute. Specifies an alternate text for the area. Required if the href attribute is present
        Parameters:
        value - the value for the attribute.
        Since:
        1.0.0
      • getValue

        public java.lang.String getValue​()
        gets the value of this attribute
        Returns:
        the value of the attribute
        Since:
        1.0.0
      • init

        protected void init​()
        invokes only once per object
        Since:
        1.0.0