1 38 package com.gargoylesoftware.htmlunit.html; 39 40 import java.util.Map ; 41 42 50 public class HtmlHorizontalRule extends ClickableElement { 51 52 53 public static final String TAG_NAME = "hr"; 54 55 61 public HtmlHorizontalRule( final HtmlPage page, final Map attributes) { 62 super(page, attributes); 63 } 64 65 68 public String getTagName() { 69 return TAG_NAME; 70 } 71 72 80 public final String getAlignAttribute() { 81 return getAttributeValue("align"); 82 } 83 84 85 93 public final String getNoShadeAttribute() { 94 return getAttributeValue("noshade"); 95 } 96 97 98 106 public final String getSizeAttribute() { 107 return getAttributeValue("size"); 108 } 109 110 111 119 public final String getWidthAttribute() { 120 return getAttributeValue("width"); 121 } 122 } 123 | Popular Tags |