Class HtmlHorizontalRule

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

public class HtmlHorizontalRule extends HtmlElement
Wrapper for the HTML element "hr".
See Also:
  • Field Details

  • Constructor Details

    • HtmlHorizontalRule

      HtmlHorizontalRule(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)
      Creates a new instance.
      Parameters:
      qualifiedName - the qualified name of the element type to instantiate
      page - the page that contains this element
      attributes - the initial attributes
  • Method Details

    • getAlignAttribute

      public final String getAlignAttribute()
      Returns the value of the attribute align. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute align or an empty string if that attribute isn't defined
    • getNoShadeAttribute

      public final String getNoShadeAttribute()
      Returns the value of the attribute noshade. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute noshade or an empty string if that attribute isn't defined
    • getSizeAttribute

      public final String getSizeAttribute()
      Returns the value of the attribute size. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute size or an empty string if that attribute isn't defined
    • getWidthAttribute

      public final String getWidthAttribute()
      Returns the value of the attribute width. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute width or an empty string if that attribute isn't defined