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