1 38 package com.gargoylesoftware.htmlunit.html; 39 40 import java.util.Map ; 41 42 49 public class HtmlHead extends HtmlElement { 50 51 52 public static final String TAG_NAME = "head"; 53 54 60 public HtmlHead( final HtmlPage page, final Map attributes) { 61 super(page, attributes); 62 } 63 64 67 public String getTagName() { 68 return TAG_NAME; 69 } 70 71 79 public final String getLangAttribute() { 80 return getAttributeValue("lang"); 81 } 82 83 84 92 public final String getXmlLangAttribute() { 93 return getAttributeValue("xml:lang"); 94 } 95 96 97 105 public final String getTextDirectionAttribute() { 106 return getAttributeValue("dir"); 107 } 108 109 110 118 public final String getProfileAttribute() { 119 return getAttributeValue("profile"); 120 } 121 } 122 | Popular Tags |